Closing Print Preview in Excel Macro

R

rabblerowzer

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,
 
N

NickHK

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top