Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I declared a public variable "Lib" in Module1. I have a For loop in Module 1
using "Lib" : For Lib = 1to 10 ....(code) ... Next In the (code) section, I call Module2. When Module2 calls the Lib variable, gives me the ambiguous variable error. Is this because the For statement actually declares Lib as a procedural variable instead of using it as a public variable? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Accessing Public variable in different modules | Excel Programming | |||
Public, Private, Event modules, Forms modules,,, | Excel Programming | |||
Calling Add-In subroutines from other modules | Excel Programming | |||
calling modules | Excel Programming | |||
variable calling in different modules. | Excel Programming |