|
-
Apr 17th, 2007, 11:54 PM
#1
Thread Starter
Member
[RESOLVED] [2005] Can variables in private sub be used outside ??
Hey guys!
I have a program in which i hav declared a few variables inside a 'Private Sub button_click'. I need to reuse the same variables in another Private Sub Button_Click.. Do i need to declare the same variables again in the second sub or can i continue to use it after i have i declared it in the previous sub.
Or do i declare the variables outside the subs and then use it in all the subs.
please advise
cheers
Abhilash
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|