Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5086
    haibinpro
    Member

    I try
    document.selection.Replace “””,”cyo””,eeFindNext Or eeFindReplaceEscSeq Or eeReplaceAll
    But not works
    any commend.

    #5087
    Yutaka Emura
    Keymaster

    You cannot use “”” in VBScript.
    You should use Chr(&H22) instead.


    document.selection.Replace Chr(&H22),"cyo" & Chr(&H22),eeFindNext Or eeFindReplaceEscSeq Or eeReplaceAll

    #5091
    haibinpro
    Member

    Thanks,
    & Chr(34) works.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.