Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Looping subroutine
I have a subroutine that is supposed to run one time as part of a user form.
The code only calls it one time, yet, when the "OK" button is clicked, the sub is running again. I have searched all of the code to see if the sub is anywhere else and it isn't. Any suggestions? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Looping subroutine
Post the code so we can take a look at it.
-- Anything is possible if you don''t know what you''re talking about. "aelewis" wrote: I have a subroutine that is supposed to run one time as part of a user form. The code only calls it one time, yet, when the "OK" button is clicked, the sub is running again. I have searched all of the code to see if the sub is anywhere else and it isn't. Any suggestions? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Looping subroutine
I actually just figured out the problem.....I forgot an "End" in the code!!
Thanks for the quick response, though. "Wood Grafing" wrote: Post the code so we can take a look at it. -- Anything is possible if you don''t know what you''re talking about. "aelewis" wrote: I have a subroutine that is supposed to run one time as part of a user form. The code only calls it one time, yet, when the "OK" button is clicked, the sub is running again. I have searched all of the code to see if the sub is anywhere else and it isn't. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Call a subroutine using variable subroutine name | Excel Discussion (Misc queries) | |||
How To Quit Subroutine from a called subroutine | Excel Programming | |||
One subroutine to run another | Excel Programming | |||
VB subroutine | Excel Programming | |||
Every second subroutine | Excel Programming |