PC Review


Reply
Thread Tools Rate Thread

Closing Print Preview in Excel Macro

 
 
rabblerowzer@yahoo.com
Guest
Posts: n/a
 
      7th Mar 2007
Hi,

I have recorded an Excel Macro that goes into print preview and
formats the page in case the user wants to print. However, the macro
will not record the "Closing" of the Print Preview.

Is there some VBA code I can insert into the macro which will close
print preview and take the user into Edit mode instead of Print
Preview mode?

Thanks,

 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      7th Mar 2007
If you need the user to see the output in Print Preview, closing it in code
makes no sense, as you cannot tell when the user is "ready".
If you do not need the user to see the output, don't go into Print Preview.

NickHK

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have recorded an Excel Macro that goes into print preview and
> formats the page in case the user wants to print. However, the macro
> will not record the "Closing" of the Print Preview.
>
> Is there some VBA code I can insert into the macro which will close
> print preview and take the user into Edit mode instead of Print
> Preview mode?
>
> Thanks,
>



 
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
Closing Print Preview with macro Cheryl Microsoft Access Macros 0 28th Jul 2008 06:26 PM
Why does macro speed slow after Excel Print or Print Preview? Larry A Microsoft Excel Programming 6 16th May 2005 11:22 AM
VBA Help - Running a macro when closing print preview carljonesuk Microsoft Excel Programming 3 9th Feb 2004 01:39 PM
Excel BUG (All Versions) Excel Macro Margins using Print Preview GP Microsoft Excel Misc 1 8th Nov 2003 06:31 PM
Excel BUG (All Versions) Excel Macro Margins using Print Preview GP Microsoft Excel Discussion 1 8th Nov 2003 06:31 PM


Features
 

Advertising
 

Newsgroups
 


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