Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Public variable Forgotten by VBA!

Hello!

I have a strange issue today with my VBA procedures in several workbooks. I
use many public variables, declared in general purpose modules.

Everything had been working fine until yesterday. I used to have 3 versions
of Excel in my machine: 2003, 2007 and 2010 Tech Preview. Yesterday I
uninstalled 2010 and 2003.

For some odd reason, since then VBA is "forgetting" the value of my public
variables!

I changed the scope of the variables to Global and now it works again, but
this does not seem to be an appropiate solution to the problem...

Anyone have a clue as to why this is happening?

Thanks in advance,

Albert C.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Public variable Forgotten by VBA!



You are not alone.
I had to do a System Restore after uninstalling the @2010 Tech Preview.
--
Jim Cone
Portland, Oregon USA



"Albert"
wrote in message
...
Hello!
I have a strange issue today with my VBA procedures in several workbooks. I
use many public variables, declared in general purpose modules.

Everything had been working fine until yesterday. I used to have 3 versions
of Excel in my machine: 2003, 2007 and 2010 Tech Preview. Yesterday I
uninstalled 2010 and 2003.
For some odd reason, since then VBA is "forgetting" the value of my public
variables!
I changed the scope of the variables to Global and now it works again, but
this does not seem to be an appropiate solution to the problem...
Anyone have a clue as to why this is happening?
Thanks in advance,
Albert C.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Public variable Forgotten by VBA!

Really???
Darn!
Sorry to hear that!


"Jim Cone" wrote:



You are not alone.
I had to do a System Restore after uninstalling the @2010 Tech Preview.
--
Jim Cone
Portland, Oregon USA



"Albert"
wrote in message
...
Hello!
I have a strange issue today with my VBA procedures in several workbooks. I
use many public variables, declared in general purpose modules.

Everything had been working fine until yesterday. I used to have 3 versions
of Excel in my machine: 2003, 2007 and 2010 Tech Preview. Yesterday I
uninstalled 2010 and 2003.
For some odd reason, since then VBA is "forgetting" the value of my public
variables!
I changed the scope of the variables to Global and now it works again, but
this does not seem to be an appropiate solution to the problem...
Anyone have a clue as to why this is happening?
Thanks in advance,
Albert C.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Public variable (or Public Const?) Brettjg Excel Programming 14 April 23rd 09 11:30 PM
Public variable (or Public Const?) Tim Williams[_2_] Excel Programming 0 April 23rd 09 06:33 AM
Public variable Jack New Users to Excel 4 March 18th 06 09:35 PM
Public Variable Jason Excel Programming 4 April 12th 04 07:06 PM
public variable marwan hefnawy Excel Programming 1 September 5th 03 08:54 AM


All times are GMT +1. The time now is 12:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"