V
Vamsi.
Hi,
I am writing a Macro in Excel2003.
I have a variable x.
x = "ABC"
I want to dispay the text
Hello r u fine "ABC"
Note that ABC must be in double quotes.
When i give the following command i am getting error:
Hello r u fine & """ & x & """ --This doesn't work for
double quotes
Hello r u fine & "'" & x & "'" --This works for
displaying single quotes
Why is this so!!! how do i go about this??
Appreciate any help.
Vamsi.
I am writing a Macro in Excel2003.
I have a variable x.
x = "ABC"
I want to dispay the text
Hello r u fine "ABC"
Note that ABC must be in double quotes.
When i give the following command i am getting error:
Hello r u fine & """ & x & """ --This doesn't work for
double quotes
Hello r u fine & "'" & x & "'" --This works for
displaying single quotes
Why is this so!!! how do i go about this??
Appreciate any help.
Vamsi.