LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
JRK JRK is offline
external usenet poster
 
Posts: 8
Default Print Preview Delemma, Once More Please

Hi

Despite the response to my last question, I still have a problem resolving
an issue I have with Print Preview. I want the user to be able to preview a
WS, but I don't want the user to Print the WS. Here's what I did:

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Cancel = True
End Sub

But that prevents Print Preview from showing, which defeats my purpose. I've
tried several IF statements without success.

Can anyone please help this excel-dummy create the correct procedure to show
Print Preview, but not allow it to Print? Thank you.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Print & Close Buttons in Print Preview grayed-out when '07 script ArielZusya Excel Programming 2 January 16th 09 05:57 PM
Print and Print Preview Graphic Moving Resizing 2007/2003 Adam Rayburn Excel Discussion (Misc queries) 0 April 4th 07 04:18 PM
print preview v page break preview SamB Excel Discussion (Misc queries) 0 November 16th 06 05:09 PM
cell borders that I create dont show on print preview or print scott3435 Excel Discussion (Misc queries) 2 April 6th 06 02:37 AM
Why does macro speed slow after Excel Print or Print Preview? Larry A[_3_] Excel Programming 6 May 16th 05 11:22 AM


All times are GMT +1. The time now is 09:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"