ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Doing a "print preview" slows down an Excel 2003 COM addin. (https://www.excelbanter.com/excel-programming/375352-doing-print-preview-slows-down-excel-2003-com-addin.html)

gordon garnsey[_2_]

Doing a "print preview" slows down an Excel 2003 COM addin.
 
My COM Addin running under Excel 2003 slows down 100% when a print preview
has been done anywhere in the workbook.
A workaround is to save a custom view of the worksheet before doing a page
setup (or print preview?) and restoring this (empty) view after doing the
print jobs. However this is not always convenient.
Be nice if it could be fixed.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming

NickHK

Doing a "print preview" slows down an Excel 2003 COM addin.
 
Have you tried setting ActiveSheet.DisplayPageBreaks = False after the
preview ?

NickHK

"gordon garnsey" <gordon wrote in message
...
My COM Addin running under Excel 2003 slows down 100% when a print preview
has been done anywhere in the workbook.
A workaround is to save a custom view of the worksheet before doing a page
setup (or print preview?) and restoring this (empty) view after doing the
print jobs. However this is not always convenient.
Be nice if it could be fixed.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...el.programming



gordon garnsey

Doing a "print preview" slows down an Excel 2003 COM addin.
 
Thanks Nick,

Works Fine

"NickHK" wrote:

Have you tried setting ActiveSheet.DisplayPageBreaks = False after the
preview ?

NickHK

"gordon garnsey" <gordon wrote in message
...
My COM Addin running under Excel 2003 slows down 100% when a print preview
has been done anywhere in the workbook.
A workaround is to save a custom view of the worksheet before doing a page
setup (or print preview?) and restoring this (empty) view after doing the
print jobs. However this is not always convenient.
Be nice if it could be fixed.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...el.programming





All times are GMT +1. The time now is 03:06 PM.

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