rhino4eva
Active Member
- Joined
- Apr 1, 2009
- Messages
- 262
- Office Version
- 2010
- Platform
- Windows
i have just got to grips with user forms and I need a little help
I have designed a userform with 3 radio buttons to select either 1 ,2, or 3 experiments in my lab
I want to use this response to be used in a for next loop is a module so I don't have to write this 3 times over
ie for loop= 1 to (radio result) step 1
do something interesting
next loop
where (radio result) is a variable form 1 to 3 dependant on which button is pressed
I can get the "do something interesting" if its written into the code area of the userform
but not if its in a module on it own
I need to figure out how to link userform to a module
Any help would be gratefully recieved
I have designed a userform with 3 radio buttons to select either 1 ,2, or 3 experiments in my lab
I want to use this response to be used in a for next loop is a module so I don't have to write this 3 times over
ie for loop= 1 to (radio result) step 1
do something interesting
next loop
where (radio result) is a variable form 1 to 3 dependant on which button is pressed
I can get the "do something interesting" if its written into the code area of the userform
but not if its in a module on it own
I need to figure out how to link userform to a module
Any help would be gratefully recieved