Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default create a button that previews sheets

Hi,

Yesterday I learnt how to create a button to Print my sheets. Now I'm
wondering if there is a way to create button that will open the sheets in
Preview?

Thanks,

Helen



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default create a button that previews sheets

Hi Helen,

Try:

'==============
Private Sub CommandButton2_Click()
Sheets(Array("Sheet1", "Sheet2")).PrintPreview
End Sub
'<<==============


---
Regards,
Norman



"Helen" wrote in message
...
Hi,

Yesterday I learnt how to create a button to Print my sheets. Now I'm
wondering if there is a way to create button that will open the sheets in
Preview?

Thanks,

Helen





Reply
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
Excel color-formatted text previews & prints in black Chery Excel Discussion (Misc queries) 0 January 16th 08 10:28 PM
create button that can hide/unhide sheets and hyperlink... Helen Excel Programming 7 November 16th 05 04:03 AM
Create a Button that will print sheets Helen Excel Programming 2 November 15th 05 02:01 AM
Create floating button based on button click in menu ExcelMonkey Excel Programming 2 October 12th 05 06:43 PM
slow page break previews chriscrisco Excel Discussion (Misc queries) 1 December 13th 04 08:06 PM


All times are GMT +1. The time now is 12:09 PM.

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

About Us

"It's about Microsoft Excel"