View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
R P R P is offline
external usenet poster
 
Posts: 4
Default Retreive a variable


Is it possible for my UserForm code to retrieve a variable declared and
set in the main procedure?

I am testing to see if the code is run on my computer or not. I already
have this Boolean value set in the main procedure but I do not see how to
retrieve this value from my UseForm code. I could run the test again from
the UserForm but I have run across this problem before and thought I might
seek a solution.

I should say that I have already thought of creating a Static function
that holds this value.
I am just curious if there is a easier (better) way?
--