Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
What is the #define equivalent?
Dear Excel Gurus,
In C, one can make convenient definitions like; #define ABC 242 #define NAME "James Smith" In Excel VBA, is there an equivalent for #define? Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
What is the #define equivalent?
Const
say Const ABC as long = 242 Const NAME as string = "James Smith" -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sing" wrote in message ... Dear Excel Gurus, In C, one can make convenient definitions like; #define ABC 242 #define NAME "James Smith" In Excel VBA, is there an equivalent for #define? Thanks. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
What is the #define equivalent?
VBA does not have a preporcessor the same as C does. What you have posted are
just constants which are handled, but if you wanted to get into defining formulas and such then you are out of luck. -- HTH... Jim Thomlinson "Sing" wrote: Dear Excel Gurus, In C, one can make convenient definitions like; #define ABC 242 #define NAME "James Smith" In Excel VBA, is there an equivalent for #define? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
EQUIVALENT for this FORMULA , please | Excel Worksheet Functions | |||
Function Equivalent need | Excel Worksheet Functions | |||
Equivalent of Alt+Tab for going between worksheets? | Excel Discussion (Misc queries) | |||
equivalent for function , please for help | Excel Worksheet Functions | |||
Equivalent Of VAL | Excel Programming |