Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Myriam
 
Posts: n/a
Default Open document in print preview

This is probably a very simple question, but I don't know the answer! Can
someone please help me?

Where should I place a macro to perform an action as a document opens?

Specifically, I need to open the doc, every time, in print preview.

Thanks in advance for your any help you can give me.
Regards,
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans
 
Posts: n/a
Default Open document in print preview

There are several ways to run a macro on opening a document. An AutoOpen
macro is probably the easiest. It can go in any module in the document or
its template (ThisDocument if you like) and must be called "AutoOpen". There
are a set of precedence rules if you have more than one but, for this, you
don't really need to worry about that - just have one macro to avoid the
issue.

--
Enjoy,
Tony


"Myriam" wrote in message
...
This is probably a very simple question, but I don't know the answer! Can
someone please help me?

Where should I place a macro to perform an action as a document opens?

Specifically, I need to open the doc, every time, in print preview.

Thanks in advance for your any help you can give me.
Regards,



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Myriam
 
Posts: n/a
Default Open document in print preview

Thanks for your help. I got it working.
Regards,

"Tony Jollans" wrote:

There are several ways to run a macro on opening a document. An AutoOpen
macro is probably the easiest. It can go in any module in the document or
its template (ThisDocument if you like) and must be called "AutoOpen". There
are a set of precedence rules if you have more than one but, for this, you
don't really need to worry about that - just have one macro to avoid the
issue.

--
Enjoy,
Tony


"Myriam" wrote in message
...
This is probably a very simple question, but I don't know the answer! Can
someone please help me?

Where should I place a macro to perform an action as a document opens?

Specifically, I need to open the doc, every time, in print preview.

Thanks in advance for your any help you can give me.
Regards,




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
looking for a non-macro way to force Print Layout as the default v Kevin Microsoft Word Help 7 February 16th 06 03:45 AM
can't view my document in print preview or print LMLONG Microsoft Word Help 2 June 30th 05 12:20 AM
Unable to view entire document in Print Preview. Help. rst45 Microsoft Word Help 1 June 24th 05 12:21 AM
cannot see document in print preview maxzsim Microsoft Word Help 1 June 21st 05 09:33 AM
during print preview legal size document cuts to letter size Jim Microsoft Word Help 0 April 19th 05 11:00 PM


All times are GMT +1. The time now is 03:34 PM.

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"