Home |
Search |
Today's Posts |
#1
|
|||
|
|||
VBA defining variables
Hi
I have the code below. I set JJ=33, and I need Macro5 and Macro6 to use the variable JJ. But when it goes into those macros JJ is empty. Do you know how to fix this? Sub TestMacro2() Dim JJ As Double JJ = 33 Call Macro5 Call Macro6 End Sub Thanks for your help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I use variables in Excel? | Excel Discussion (Misc queries) | |||
How do I use variables in Excel? | Excel Discussion (Misc queries) | |||
solver and defining all variables different than one another | Excel Discussion (Misc queries) | |||
Plot 2 variables on Y axis | Charts and Charting in Excel | |||
Index Match With 3 Variables | Excel Worksheet Functions |