ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I turn off print preview with a macro? (https://www.excelbanter.com/excel-programming/355767-how-do-i-turn-off-print-preview-macro.html)

Zorro[_2_]

How do I turn off print preview with a macro?
 
I recorded a macro that turned on print preview. I would like to turn it off
with a macro. can I do this?

rocket0612[_10_]

How do I turn off print preview with a macro?
 

just a simple:


Code:
--------------------

ActiveDocument.ClosePrintPreview

--------------------


--
rocket0612
------------------------------------------------------------------------
rocket0612's Profile: http://www.excelforum.com/member.php...o&userid=19492
View this thread: http://www.excelforum.com/showthread...hreadid=521447


Dave Peterson

How do I turn off print preview with a macro?
 
This looks a lot more like MSWord's VBA than Excel's.



rocket0612 wrote:

just a simple:

Code:
--------------------

ActiveDocument.ClosePrintPreview

--------------------

--
rocket0612
------------------------------------------------------------------------
rocket0612's Profile: http://www.excelforum.com/member.php...o&userid=19492
View this thread: http://www.excelforum.com/showthread...hreadid=521447


--

Dave Peterson

Doug Glancy

How do I turn off print preview with a macro?
 
Zorro,

I'm pretty sure the answer is no.

hth,

Doug


"Zorro" wrote in message
...
I recorded a macro that turned on print preview. I would like to turn it
off
with a macro. can I do this?





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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com