PC Review


Reply
Thread Tools Rate Thread

Auto_Open & Application.Quit - Now I can't get back into my macro

 
 
Astello
Guest
Posts: n/a
 
      10th Oct 2006
I just finished my first macro, and it works beautifully, except that I
need to change one little thing in the code. Problem is, I set the
macro to open automatically with Auto_Open, and also set it to quit
Excel when the macro finished running using Application.Quit, so the
user has to do minimal work. Now I can't get back into the macro to
change anything. Any suggestions?

 
Reply With Quote
 
 
 
 
smw226 via OfficeKB.com
Guest
Posts: n/a
 
      10th Oct 2006
Hi,

Hit Ctrl+BREAK when the macro is running and you will be able to go into
debugger

either that or set your macro security to medium (so it asks whether you want
to run it) and select disable macros when asked.

HTH

Thans,

SImon

Astello wrote:
>I just finished my first macro, and it works beautifully, except that I
>need to change one little thing in the code. Problem is, I set the
>macro to open automatically with Auto_Open, and also set it to quit
>Excel when the macro finished running using Application.Quit, so the
>user has to do minimal work. Now I can't get back into the macro to
>change anything. Any suggestions?


--
--------------------
Simon - UK

Email at simon22mports [ a t ] hot mail [ d ot ]com

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200610/1

 
Reply With Quote
 
Susan
Guest
Posts: n/a
 
      10th Oct 2006
i've done the same thing........
another work-around is to open the vba editor
and maximize BEFORE you open the document,
and make your word window smaller. then when
the userform pops up, you can click outside the
word window into the vba editor & stop the
code from there.
susan

 
Reply With Quote
 
Gary Keramidas
Guest
Posts: n/a
 
      10th Oct 2006
give this a try

in excel, file/open
hold the shift key while you click the file in the mru list
or if it's not there,
navigate to your file and highlight it.
hold the shift key and while you click the open button. it should bypass the
auto open

--


Gary


"Astello" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I just finished my first macro, and it works beautifully, except that I
> need to change one little thing in the code. Problem is, I set the
> macro to open automatically with Auto_Open, and also set it to quit
> Excel when the macro finished running using Application.Quit, so the
> user has to do minimal work. Now I can't get back into the macro to
> change anything. Any suggestions?
>



 
Reply With Quote
 
Astello
Guest
Posts: n/a
 
      10th Oct 2006

Thank you guys so much! This fixed my problem, I felt very silly

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application.Quit not funtioning in Sub Auto_open BenR Microsoft Powerpoint 1 29th Sep 2008 05:43 PM
Macro to quit application =?Utf-8?B?SzExbmd5?= Microsoft Excel Misc 7 6th Jul 2007 04:48 PM
Excel application.quit in macro problem TimkenSteve Microsoft Excel New Users 3 17th Aug 2006 06:36 PM
macro to close excel application other than application.quit mary Microsoft Excel Programming 1 14th Sep 2004 03:43 PM
Macro to quit excel and go back to original application wendy Microsoft Excel Programming 0 9th Jan 2004 08:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:35 AM.