Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
JK JK is offline
external usenet poster
 
Posts: 78
Default Is There a Function To Reset Macros?

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   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Is There a Function To Reset Macros?

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   Report Post  
Posted to microsoft.public.excel.programming
JK JK is offline
external usenet poster
 
Posts: 78
Default Is There a Function To Reset Macros?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Is There a Function To Reset Macros?

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 188
Default Is There a Function To Reset Macros?

"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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining Macros and if function perl Excel Worksheet Functions 2 September 19th 09 03:04 PM
XL('03/XP) function keys chg'd. How do I reset (eg: F4=repeat)? Display name? Function keys? Excel Discussion (Misc queries) 0 December 13th 07 06:46 PM
Reset Macros Rita Palazzi Excel Discussion (Misc queries) 0 December 29th 05 02:43 PM
How Do I Install a Reset or Clear Function CC Excel Worksheet Functions 4 February 10th 05 10:06 PM
F4 function key with macros amelie Excel Programming 1 September 9th 04 12:29 PM


All times are GMT +1. The time now is 12:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"