Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Question about dim statement
While debugging my code today, I was surprised to find the fix was to
change this dim statement... Dim lNumber, lValue, lWhatever as Long to this... Dim lNumber as Long Dim lValue as Long Dim lWhatever as Long The value would not work correctly unless I separated out the dim statement. Once I did that, it worked flawlessly and I set it back and forth to be sure. I've never encountered that before. I've always been able to place multiple items in a dim statement. Is Long different? Can someone enlighten me on this? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SQL statement question | Excel Discussion (Misc queries) | |||
IF Statement question | Excel Discussion (Misc queries) | |||
If statement question | Excel Discussion (Misc queries) | |||
If Statement Question | Excel Worksheet Functions | |||
If Statement Question | Excel Worksheet Functions |