Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Macro stopping for one user out of 14

I have a workbook that is used by 14 people that contains macros (each have
their own copy of the same workbook). When one of the users clicks on either
of 2 out of the 4 command buttons to run a macro, the macro will run to a
point (always the same line of code) and stop. If the user selects "continue"
the macro will finish. All other users have no error messages or problems. I
even sent a "fresh" copy of the workbook to the user but she experienced the
same problem. The lines of code where the two macros stop are different. One
of the lines of code is: Range("E46").Select, and the other line in the other
macro is: If mySaveName = False Then Exit Sub.

I can not figure out how to correct the problem and have resorted to telling
the user just to select "continue". It is almost as if the problem has to do
with some Excel settings on her PC. By the way, the same macros worked fine
several weeks ago using the same workbook.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Macro stopping for one user out of 14

David,

Might be worth a look...check to see if "Break on All Errors" is checked
(in the VBE) under Tools | Options | General (tab). It shouldn't be.
Also, is the 14th person using the same Excel version as the others?

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"David Vollmer"
wrote in message...
I have a workbook that is used by 14 people that contains macros (each have
their own copy of the same workbook). When one of the users clicks on either
of 2 out of the 4 command buttons to run a macro, the macro will run to a
point (always the same line of code) and stop. If the user selects "continue"
the macro will finish. All other users have no error messages or problems. I
even sent a "fresh" copy of the workbook to the user but she experienced the
same problem. The lines of code where the two macros stop are different. One
of the lines of code is: Range("E46").Select, and the other line in the other
macro is: If mySaveName = False Then Exit Sub.

I can not figure out how to correct the problem and have resorted to telling
the user just to select "continue". It is almost as if the problem has to do
with some Excel settings on her PC. By the way, the same macros worked fine
several weeks ago using the same workbook.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Macro stopping for one user out of 14

Jim,

Break on All Errors was NOT checked and each person has the same version of
the workbook.

David

"Jim Cone" wrote:

David,

Might be worth a look...check to see if "Break on All Errors" is checked
(in the VBE) under Tools | Options | General (tab). It shouldn't be.
Also, is the 14th person using the same Excel version as the others?

Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"David Vollmer"
wrote in message...
I have a workbook that is used by 14 people that contains macros (each have
their own copy of the same workbook). When one of the users clicks on either
of 2 out of the 4 command buttons to run a macro, the macro will run to a
point (always the same line of code) and stop. If the user selects "continue"
the macro will finish. All other users have no error messages or problems. I
even sent a "fresh" copy of the workbook to the user but she experienced the
same problem. The lines of code where the two macros stop are different. One
of the lines of code is: Range("E46").Select, and the other line in the other
macro is: If mySaveName = False Then Exit Sub.

I can not figure out how to correct the problem and have resorted to telling
the user just to select "continue". It is almost as if the problem has to do
with some Excel settings on her PC. By the way, the same macros worked fine
several weeks ago using the same workbook.

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
Stopping the end user license from appearing yankeeone Excel Discussion (Misc queries) 2 January 5th 10 08:31 PM
Stopping a Macro Samir[_3_] Excel Programming 6 March 6th 06 04:14 PM
Stopping User Defined Functions for Recalculating Jim Excel Programming 4 June 6th 05 12:51 PM
stopping macro DPK Excel Programming 3 May 13th 04 06:50 AM
My Macro keeps stopping?? Sh0t2bts Excel Programming 5 October 28th 03 03:08 PM


All times are GMT +1. The time now is 06:57 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"