Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Handling Print Preview Event

I have a VFP application that uses Excel Workbooks for a portion of the data
entry by the end user. The spreedsheets used by the application are complex
enough that it was decide to automate the print preview function for the user.

Using VBA code the print area and other printer settings are set before
sending the user to the print preview screen.

The problem is that when this code was written in Excel 2003 to ride the
user of annoying screen flicker the Application.ScreenUpdating property was
set to False until after the preview process was completed. Actually the
ScreenUpdating property is not set back to True until after exiting the print
preview screen, either by printing or close.

In Excel 2007 turning off ScreenUpdating in this process will keep the
Ribbon Bar from updating as well, leaving the end user in the Print Preview
screen with out the standard Print Preview Ribbon Bar. This forces the user
to either use key board commands to send the out put to the printer or Escape
out of the screen.

I'm attempting to write an Event binding handler in the VFP code to set the
ScreenUpdating back to True prior to the Print Preview screen becoming the
active screen in hopes that this will allow the Ribbon Bar to update
properly, giving the end user the proper Ribbon Bar buttons and commands to
use.

Any help would be greatly appreciated.

Corey C.
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
print preview v page break preview SamB Excel Discussion (Misc queries) 0 November 16th 06 05:09 PM
checkbox event handling function nevwalters Excel Worksheet Functions 2 May 16th 06 04:27 AM
On Event calendar with error handling? Chip[_3_] Excel Programming 0 August 22nd 05 11:42 PM
Event handling... Alex Excel Programming 1 January 29th 05 06:24 PM
excel object event handling Vladimir Kryachko Excel Programming 1 September 9th 04 08:01 AM


All times are GMT +1. The time now is 07:20 AM.

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"