Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Group:
My procedures are generally written to trap errors; however, I am known to occassionally miss one (or two, or three), which in turn causes a Run Time Error. Not bad for me (I can fix it), but when it happens to a user of my application, it's awful. Is there a function I can include on my toolbar that my users can call to reset the macros until I write the patch? Thank you in advance. Jim Kobzeff |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
JK,
Macros generally can not be 'undone' you would have to write an undo or reset for every macro "JK" wrote: Dear Group: My procedures are generally written to trap errors; however, I am known to occassionally miss one (or two, or three), which in turn causes a Run Time Error. Not bad for me (I can fix it), but when it happens to a user of my application, it's awful. Is there a function I can include on my toolbar that my users can call to reset the macros until I write the patch? Thank you in advance. Jim Kobzeff |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ben,
Then there's no way to write a function that mimics the Run Reset feature we use in the code section? Jim K "ben" wrote in message ... JK, Macros generally can not be 'undone' you would have to write an undo or reset for every macro "JK" wrote: Dear Group: My procedures are generally written to trap errors; however, I am known to occassionally miss one (or two, or three), which in turn causes a Run Time Error. Not bad for me (I can fix it), but when it happens to a user of my application, it's awful. Is there a function I can include on my toolbar that my users can call to reset the macros until I write the patch? Thank you in advance. Jim Kobzeff |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
VBA is in BREAK MODE at this point. When it's in break mode, you can't run
code. So you can't use another routine that would get you out of this mode -- you can't run it. You probably should think in terms of putting error trapping into every routine you write, perhaps nothing more than giving an error message and setting a global or module level variable to indicate an error. However, you would have to modify every macro to also check that variable before continuing. On Wed, 02 Feb 2005 00:39:13 GMT, "JK" wrote: ben, Then there's no way to write a function that mimics the Run Reset feature we use in the code section? Jim K "ben" wrote in message ... JK, Macros generally can not be 'undone' you would have to write an undo or reset for every macro "JK" wrote: Dear Group: My procedures are generally written to trap errors; however, I am known to occassionally miss one (or two, or three), which in turn causes a Run Time Error. Not bad for me (I can fix it), but when it happens to a user of my application, it's awful. Is there a function I can include on my toolbar that my users can call to reset the macros until I write the patch? Thank you in advance. Jim Kobzeff |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"JK" wrote in message
news:kCRLd.44$Dc.15@trnddc06... Dear Group: My procedures are generally written to trap errors; however, I am known to occassionally miss one (or two, or three), which in turn causes a Run Time Error. Not bad for me (I can fix it), but when it happens to a user of my application, it's awful. Is there a function I can include on my toolbar that my users can call to reset the macros until I write the patch? Thank you in advance. Jim Kobzeff Hi Jim, See the thread starting with this post on the exact same subject from 21 Jan 2005: ... Alan. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combining Macros and if function | Excel Worksheet Functions | |||
XL('03/XP) function keys chg'd. How do I reset (eg: F4=repeat)? | Excel Discussion (Misc queries) | |||
Reset Macros | Excel Discussion (Misc queries) | |||
How Do I Install a Reset or Clear Function | Excel Worksheet Functions | |||
F4 function key with macros | Excel Programming |