×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to stop my VBA program from stopping?

How to stop my VBA program from stopping?

How to stop my VBA program from stopping?

(OP)
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?

RE: How to stop my VBA program from stopping?

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

RE: How to stop my VBA program from stopping?

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

law_boy373@yahoo.com

RE: How to stop my VBA program from stopping?

I noticed in some cases vba routine quits without error warning. Try F8 button to find when it stops.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources