Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Declare them as Public variables, in a standard code module, prior to any
procedures e.g. Public rng As Range Sub test() .... -- HTH RP "Papa Jonah" wrote in message ... How do I define a variable, such as dim range as range, or mytotal = activecell.value *2 so that they can be recalled when other macros or modules are run? TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Assigning a variable | Excel Worksheet Functions | |||
Running Access MAcros or VB modules in Excel | Excel Programming | |||
variable calling in different modules. | Excel Programming | |||
Scope of variable includes all Form _and_ Code modules?? | Excel Programming | |||
Using the same variable in separate userform modules | Excel Programming |