Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to stop my VBA program from stopping?

Status
Not open for further replies.

Ruprecht

Computer
Nov 30, 2002
1
I am writing a simple program to enter, remove and edit data on a spreadsheet by the way of forms. I have written code to enter the data to the spreadsheet, but when I run it, the program enters the data and then stops. How can I make the program enter the data and not stop?
 
Replies continue below

Recommended for you

Most of the time, the program simply does what you as the programmer tells it to do, so if it stops, it's most likely that's what you programmed it to do.

What you seem to be asking for is to purposely cause the program to run in an infinite loop, during which, the program checks for what the user wants it to do?

TTFN
 
Please send me a copy of you app so I may review!

law_boy373@yahoo.com
 
I noticed in some cases vba routine quits without error warning. Try F8 button to find when it stops.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor