Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.printing,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable Page Break Preview Button

I have an application where I am using Excel in the background to print a
spreadsheet. My application has a print preview - where I use Excel's Print
Preview feature. This worked fine in Excel 2000 - however, I am now running
into an issue with Excel XP. When displaying the Print Preview, there is
now a new button called "Page Break Preview". I would like to find out if
there is a way to programmatically remove or disable this button. This
button takes the user back to the spreadsheet which I do not want to happen
(since the user was not viewing the spreadsheet to begin with).

Any help is appreciated.

John


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable Page Break Preview Button


-----Original Message-----
I have an application where I am using Excel in the

background to print a
spreadsheet. My application has a print preview - where

I use Excel's Print
Preview feature. This worked fine in Excel 2000 -

however, I am now running
into an issue with Excel XP. When displaying the Print

Preview, there is
now a new button called "Page Break Preview". I would

like to find out if
there is a way to programmatically remove or disable this

button. This
button takes the user back to the spreadsheet which I do

not want to happen
(since the user was not viewing the spreadsheet to begin

with).

Any help is appreciated.

John


.

One way would be to find the window handle of the button
using Windows API's and disable and/or hide this button,
again using API calls. Look in MSDN for window handle
enumeration functions. Search for "Enumerate Windows"

Mike
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
How do I do page breaks when view menu doesnt page break preview HeatherF55 Excel Discussion (Misc queries) 0 September 21st 07 04:24 AM
change page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:16 AM
change and/or remove page number watermark in page break preview juga Excel Discussion (Misc queries) 2 December 25th 06 10:15 AM
print preview v page break preview SamB Excel Discussion (Misc queries) 0 November 16th 06 05:09 PM
Hiding the page number in page break preview background. I need coffee, wake me up! Excel Discussion (Misc queries) 0 May 15th 06 10:32 AM


All times are GMT +1. The time now is 05:19 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"