![]() |
escape character
Hi,
does anyone know what the escape character in vba is? like i want to make " part of a string but it always takes it as the end of the string. thanx |
escape character
Sam,
VBA doesn't have an escape character as such. Use two " characters. E.g., Dim S As String S = "This has a ""quoted"" word." -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "sam" wrote in message ... Hi, does anyone know what the escape character in vba is? like i want to make " part of a string but it always takes it as the end of the string. thanx |
All times are GMT +1. The time now is 05:24 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com