Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
The " Character
Hello All,
try as I might I'm stumped... How do I add a " character in a cell form VBA? As in I have a formula that looks something like this: =Something(get data "12/02/2009" to "13/02/2009") Everytime i try to assign it via ar ange.value= i run into problems (as it terminates my statement early) I know it must be possible, and i immagine it to be something trivial. Yet... I'm stumped. Any ideas? Thanks in advance |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
The " Character
Use two of them for each one you want in the String. For example, in this
statement... MsgBox "AB""C""DE" the C will appear with quote marks around it. -- Rick (MVP - Excel) "Janos" wrote in message ... Hello All, try as I might I'm stumped... How do I add a " character in a cell form VBA? As in I have a formula that looks something like this: =Something(get data "12/02/2009" to "13/02/2009") Everytime i try to assign it via ar ange.value= i run into problems (as it terminates my statement early) I know it must be possible, and i immagine it to be something trivial. Yet... I'm stumped. Any ideas? Thanks in advance |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
The " Character
thanks a bunch!
"Rick Rothstein" wrote: Use two of them for each one you want in the String. For example, in this statement... MsgBox "AB""C""DE" the C will appear with quote marks around it. -- Rick (MVP - Excel) "Janos" wrote in message ... Hello All, try as I might I'm stumped... How do I add a " character in a cell form VBA? As in I have a formula that looks something like this: =Something(get data "12/02/2009" to "13/02/2009") Everytime i try to assign it via ar ange.value= i run into problems (as it terminates my statement early) I know it must be possible, and i immagine it to be something trivial. Yet... I'm stumped. Any ideas? Thanks in advance |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Display "/" (slash) as a character, not as an action (divide) | Excel Worksheet Functions | |||
How to delete a "return" character (a "box") in cell of imported d | Excel Programming | |||
Change "-" from right first character to left first character to make a negative amount | Excel Programming | |||
How can I convert a character string that contains letters & numbers "£2,456.99 (including flights)" into a numeric? | Excel Worksheet Functions | |||
error: "invalid character in text conent" How do I open this file | Excel Discussion (Misc queries) |