+ Reply to Thread
Results 1 to 2 of 2

How can I include a " in my string?

  1. #1
    Registered User
    Join Date
    07-21-2005
    Posts
    28

    How can I include a " in my string?

    Hi!

    For example, in my vba code, I need to assign a string to a variable. For example, I have a string as abc"def. How can I include this " in my string. The one shown below would not work. Please advise. Thanks, Aijun.

    sMyStr = "abc"def"

  2. #2
    Registered User
    Join Date
    07-21-2005
    Posts
    28

    I figured it out - just "" will do it.

    I figured it out.

    sMyStr = abc""def will do it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1