|
-
Apr 18th, 2005, 05:46 PM
#1
Thread Starter
New Member
[RESOLVED] Storing values to be used in later sub routines
hi
i have a form with a number of text boxes o it to facilitate user input
one of the text boxes requires a number to be input which redimensions an array
this array takes input from another textbox
however, if i do the coding as a private sub to redimension the array, when i go to input info into it, the array is undimensioned
obviously i need to use something other than a private sub to do this can anyone help
cheers
-
Apr 18th, 2005, 05:48 PM
#2
Addicted Member
Re: Storing values to be used in later sub routines
You could add 'Option Explicit' at the top of your code and store all your variables there i think If not, it myt be possible to do a public or global sub, not quite sure, sorry
BIOSTALL
-
Apr 18th, 2005, 07:26 PM
#3
Re: Storing values to be used in later sub routines
Perhaps Redime Preserve would help you.
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
|