Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
DeBug
Is there a way that the Debug / End popup can be stopped when there is a
problem with a vba project |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
DeBug
Use On Error error trapping
Regards Trevor "Ollie" wrote in message ... Is there a way that the Debug / End popup can be stopped when there is a problem with a vba project |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
DeBug
Not sure what you mean Trevor. Can you be more specific
"Trevor Shuttleworth" wrote: Use On Error error trapping Regards Trevor "Ollie" wrote in message ... Is there a way that the Debug / End popup can be stopped when there is a problem with a vba project |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
DeBug
What he means is that you should add could to manage the error. For
instance, add a statement at the front of the procedure On Error Goto this_proc_Errororhandler and at the end, add a statement this_proc_Errororhandler: 'add some code to deal with the error. Other ways are to trap errors as they happen, such as On Error Resume Next 'some code If Err.Number < 0 Then 'do something On Error Goto 0 Best advice? Get a copy of Professional Excel Development by Bullen, Bovey and Green, it has a good chapter on error handling as well as much other good stuff. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Ollie" wrote in message ... Not sure what you mean Trevor. Can you be more specific "Trevor Shuttleworth" wrote: Use On Error error trapping Regards Trevor "Ollie" wrote in message ... Is there a way that the Debug / End popup can be stopped when there is a problem with a vba project |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
DeBug
Hello Bob I think I will get that book as this is a bit above my skill level and a bit of study wont go astray. Appreciate your advice Thanks Regards Ollie "Bob Phillips" wrote: What he means is that you should add could to manage the error. For instance, add a statement at the front of the procedure On Error Goto this_proc_Errororhandler and at the end, add a statement this_proc_Errororhandler: 'add some code to deal with the error. Other ways are to trap errors as they happen, such as On Error Resume Next 'some code If Err.Number < 0 Then 'do something On Error Goto 0 Best advice? Get a copy of Professional Excel Development by Bullen, Bovey and Green, it has a good chapter on error handling as well as much other good stuff. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Ollie" wrote in message ... Not sure what you mean Trevor. Can you be more specific "Trevor Shuttleworth" wrote: Use On Error error trapping Regards Trevor "Ollie" wrote in message ... Is there a way that the Debug / End popup can be stopped when there is a problem with a vba project |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using the fx key to debug formulas | Excel Discussion (Misc queries) | |||
simple (i think) UDF debug help needed | Excel Discussion (Misc queries) | |||
How do I resolve debug error macro Excel 2000? At least, any lead | Excel Discussion (Misc queries) | |||
Can i turn off the debug side of Excel? | Excel Discussion (Misc queries) | |||
help with debug | New Users to Excel |