Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting several variables at the same time
Hi, just wanted to find out if it is possible to set several integer or
string variables to the same value all at once? I know that they can be declared on one line and was wondering if it is possible to do the same with assigning a value, e.g. Zero. Thx, Bender |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Setting several variables at the same time
To the best of my knowledge there is no way to set more than one vairable at
a time. When the variable is created however it is intialized to a default value (0 for numbers), unlike C or C++ where the value of a variable that has not been initialized is ??? -- HTH... Jim Thomlinson "BenderBender" wrote: Hi, just wanted to find out if it is possible to set several integer or string variables to the same value all at once? I know that they can be declared on one line and was wondering if it is possible to do the same with assigning a value, e.g. Zero. Thx, Bender |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Setting Multiple Variables with a loop | Excel Discussion (Misc queries) | |||
Confused about setting up functions based on variables? | Excel Worksheet Functions | |||
Setting Public Variables Error | Excel Programming | |||
Setting variables to Nothing | Excel Programming | |||
Setting a print range using variables | Excel Programming |