How can I include a " in my string?

A

Ai_Jun_Zhang

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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top