Consulting

Results 1 to 3 of 3

Thread: Solved: Printing quote marks

  1. #1
    VBAX Regular
    Joined
    Jun 2004
    Location
    New Jersey
    Posts
    52
    Location

    Solved: Printing quote marks

    Hello all

    I need to print to a text file a string that contains quote marks. Is there an escape character in VBA. I can't seem to come up with one. I thought it might be the \ , but it didn't seem to work.

    Thanks
    Russ
    Russ

  2. #2
    VBAX Regular
    Joined
    Jun 2004
    Location
    New Jersey
    Posts
    52
    Location
    Just use the chr(34) and it worked fine.
    Russ

  3. #3
    Administrator
    VP-Knowledge Base
    VBAX Guru MOS MASTER's Avatar
    Joined
    Apr 2005
    Location
    Breda, The Netherlands
    Posts
    3,281
    Location
    Thanks for sharing.
    _________
    Groetjes,

    Joost Verdaasdonk
    M.O.S. Master

    Mark your thread solved, when it has been, by hitting the Thread Tools dropdown at the top of the thread.
    (I don't answer questions asked through E-mail or PM's)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •