Is what you posted, but you need to add an extra quotation mark in order to add a literal quotation Double quotes within a string are what you are looking for..Within a string, you must use two sets of double quotation marks to represent a single set of double quotation marks. You could construct the .To place quotation marks in a string in your code. In Visual Basic, insert two quotation marks in a row as an embedded quotation mark. Insert the ASCII or Unicode character for a quotation mark. You can also define a constant for the character, and use it where needed..Rules for embedding strings in VBA code. Rule Use a pair of quotation marks to delimit a string. Rule Use two quotation marks to denote one when embedding one string in another. Rule Use a pair of apostrophes to delimit one string within string. Rule Don t use apostrophes to delimit a string that .
0 Komentar