Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a substring containing a quotation mark

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a problem with a replace function.
The substring I want to replace, contains a quotation mark. Visual Basic gives an error because it recognizes that as the end of the substring. Any ideas how to solve this?
 
In the replace function, instead of trying to put " in quotation marks, just use Chr(34) as the string you want to replace.
Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top