Reply
 
Thread Tools Display Modes
  #1   Report Post  
Vaughn
 
Posts: n/a
Default macro AutoExec will not run

I need to automatically print a document and close it. I created a macro and
named it AutoExec and saved it in a template for the document. When the
document opens, the macro is listed, but does not run.
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

Rename the macro AutoOpen

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Vaughn wrote:
I need to automatically print a document and close it. I created a
macro and named it AutoExec and saved it in a template for the
document. When the document opens, the macro is listed, but does not
run.



  #3   Report Post  
Vaughn
 
Posts: n/a
Default

That was it. Great. Thanks. Now, how do I edit the document when it
automatically prints and closes?

(I just love the internet when it helps solves problems)


"Graham Mayor" wrote:

Rename the macro AutoOpen

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Vaughn wrote:
I need to automatically print a document and close it. I created a
macro and named it AutoExec and saved it in a template for the
document. When the document opens, the macro is listed, but does not
run.




  #4   Report Post  
Jay Freedman
 
Posts: n/a
Default

You can hold down the Shift key while opening the document to turn off any
Autoanything macros. However, you wouldn't have this problem if you follow
the advice I gave you in the docmanagement newsgroup, and use the
right-click menu in Windows Explorer to print instead of using any macro.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Vaughn wrote:
That was it. Great. Thanks. Now, how do I edit the document when it
automatically prints and closes?

(I just love the internet when it helps solves problems)


"Graham Mayor" wrote:

Rename the macro AutoOpen

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Vaughn wrote:
I need to automatically print a document and close it. I created a
macro and named it AutoExec and saved it in a template for the
document. When the document opens, the macro is listed, but does not
run.



  #5   Report Post  
Vaughn
 
Posts: n/a
Default

Thanks for the info. However, I issue a Word command startup from another
program to print the invoice. I don't want the user going through
un-necessary gun drills to get the job done.

"Jay Freedman" wrote:

You can hold down the Shift key while opening the document to turn off any
Autoanything macros. However, you wouldn't have this problem if you follow
the advice I gave you in the docmanagement newsgroup, and use the
right-click menu in Windows Explorer to print instead of using any macro.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Vaughn wrote:
That was it. Great. Thanks. Now, how do I edit the document when it
automatically prints and closes?

(I just love the internet when it helps solves problems)


"Graham Mayor" wrote:

Rename the macro AutoOpen

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Vaughn wrote:
I need to automatically print a document and close it. I created a
macro and named it AutoExec and saved it in a template for the
document. When the document opens, the macro is listed, but does not
run.






  #6   Report Post  
Vaughn
 
Posts: n/a
Default

There seems to be a difference between pressing the shift key while you click
on the document to open and holding down the shift through the process of
opening the document (just in case anyone sees this post in the future).

Vaughn

"Jay Freedman" wrote:

You can hold down the Shift key while opening the document to turn off any
Autoanything macros. However, you wouldn't have this problem if you follow
the advice I gave you in the docmanagement newsgroup, and use the
right-click menu in Windows Explorer to print instead of using any macro.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org

Vaughn wrote:
That was it. Great. Thanks. Now, how do I edit the document when it
automatically prints and closes?

(I just love the internet when it helps solves problems)


"Graham Mayor" wrote:

Rename the macro AutoOpen

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Vaughn wrote:
I need to automatically print a document and close it. I created a
macro and named it AutoExec and saved it in a template for the
document. When the document opens, the macro is listed, but does not
run.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Misha Microsoft Word Help 2 February 9th 05 11:53 AM
Embedding a macro ib_redbeard Microsoft Word Help 2 January 27th 05 08:50 PM
Save As is not working due to macro security settings Craig Meritz Microsoft Word Help 1 December 16th 04 03:53 AM
macro help tzap_1998 Microsoft Word Help 2 December 11th 04 11:40 PM
2000 to 2002 macro and "Could not open macro storage" Art Farrell Mailmerge 1 December 6th 04 12:40 PM


All times are GMT +1. The time now is 04:03 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"