-5

I need to append a string to a text file which has double quotation marks throughout it. How do I do that cause VBA is very confused at the moment

What the string should say/append the text file to (load "c:\test.lsp")?

eldarerathis
  • 35,455
  • 10
  • 90
  • 93
maple
  • 115
  • 1
  • 2
  • 3

1 Answers1

6

You can double the quotation marks inside the string:

"""The Professional"" is a killer movie."

Or use Chr(34):

Chr(34) & "The Professional" & Chr(34) & " is a killer movie."
Frédéric Hamidi
  • 258,201
  • 41
  • 486
  • 479