Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inputing a " within a "
Hello,
I know this is simple, but I just can't find it in the HELP files. How do you insert a " within a "! Here's what I am trying to do: formatbeg = "<FONT COLOR="336666"" I know how to do it in Perl, but that doesn't work in VBA. Thanks... Michael Vaughan |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inputing a " within a "
Michael
Try formatbeg = "<FONT COLOR=""336666""" -- HTH Nick Hodge Microsoft MVP - Excel Southampton, England www.nickhodge.co.uk HIS "Michael Vaughan" wrote in message ... Hello, I know this is simple, but I just can't find it in the HELP files. How do you insert a " within a "! Here's what I am trying to do: formatbeg = "<FONT COLOR="336666"" I know how to do it in Perl, but that doesn't work in VBA. Thanks... Michael Vaughan |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inputing a " within a "
Double up your quote marks...
formatbeg = "<FONT COLOR=""336666""" In article , "Michael Vaughan" wrote: Hello, I know this is simple, but I just can't find it in the HELP files. How do you insert a " within a "! Here's what I am trying to do: formatbeg = "<FONT COLOR="336666"" I know how to do it in Perl, but that doesn't work in VBA. Thanks... Michael Vaughan |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inputing a " within a "
Surely I missed that!! ...I need a coffee, ..now!
Absolutely double up the quotes! Regards, GS |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Inputing a " within a "
Got it!!!! Thanks guys.
mv "Michael Vaughan" wrote in message ... Hello, I know this is simple, but I just can't find it in the HELP files. How do you insert a " within a "! Here's what I am trying to do: formatbeg = "<FONT COLOR="336666"" I know how to do it in Perl, but that doesn't work in VBA. Thanks... Michael Vaughan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" | Excel Programming |