Checking vb codes?

  • Thread starter Thread starter Tdp
  • Start date Start date
T

Tdp

I ave a excell programme which has about 200 textboxes with codes to go along
with it. Evety now and then it crashes with a note saying that the programme
will have to shut down........and so on.
Is there a way to check the codes to see if there are any errors?
 
Hi

Put the line

Option Explicit

on very top of all your code modules. Then go menu Debug - Compile VBA
project.
Also, do some reading on the difference between design time errors and
runtime errors. Even perfect code syntax can kill your computer.

HTH. Best wishes Harald
 
Thank you Harald,
I shall do the ammendments.
I'v got some homework to do then!!!!

Thanj you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top