Microsoft
Software
Hardware
Network
Question : Excel VBA - Public variable "Out of context"
Hi
I have declared a variable at the top of a module as follows:
Public oNewItem as String
The variable is assigned a value in another module but seems to lose it at the end of the procedure.
When I add a watch I see
at this point.
Thanks
Answer : Excel VBA - Public variable "Out of context"
That means you have defined that same variable name inside the routine. Change it's name in the routine or remove it altogether.
Kevin
Random Solutions
slow torrent
how to find out howmany jobs are running in database
PHP class function call
Why my drop down list shows in top of the UpdataProgress?
Find and Replace string to files contins spaces in file name
Configuring sar on solaris 7
In IIS6, how does the size of the web garden manifest itself during recycling?
how to create a logon batch file to delete temp file from server.
Problem running SSIS Package (containing Execute Process Task) with SQL Server Agent
Does Windows 2003 Standard R2 32Bit with 8GB of RAM benefit from /PAE?