Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Check calculation status

I am sorry but I am going to answer a question with a question.

Why wouldn't you want to force a calculation before print.

That it would always be calculated before it prints.

-Merk

11/25/03 10:46AM

I have a large worksheet in Excel 97 that I have the
calulation setting set to Manual. From this worksheet a
user prints a summary report, but often forgets to hit F9
to recalc the sheet. Could someone tell me how I can have
text appear in a cell that says something like "worksheet
was not calculated"? So that if the user prints the
report without recalculating they can see that right on
the report.

Thanks for your help.

Jeff


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Check calculation status

If you wanted to do that it would look something like this (in the workbook code page)

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Application.Calculate 'For all workbooks
Me.ActiveSheet.Calculate 'For the activesheet
Me.Sheets("Sheet1").Calculate 'For one specific sheet
Me.Sheets("Sheet1").Rows(1).Calculate 'For one specific row
Me.Sheets("Sheet1").Range("A1").Calculate 'For one specific range
End Sub

HTH
-Merk


Merkling, 11/25/03 10:16AM

I am sorry but I am going to answer a question with a question.

Why wouldn't you want to force a calculation before print.

That it would always be calculated before it prints.

-Merk

11/25/03 10:46AM

I have a large worksheet in Excel 97 that I have the
calulation setting set to Manual. From this worksheet a
user prints a summary report, but often forgets to hit F9
to recalc the sheet. Could someone tell me how I can have
text appear in a cell that says something like "worksheet
was not calculated"? So that if the user prints the
report without recalculating they can see that right on
the report.

Thanks for your help.

Jeff




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Check calculation status

I have a large worksheet in Excel 97 that I have the
calulation setting set to Manual. From this worksheet a
user prints a summary report, but often forgets to hit F9
to recalc the sheet. Could someone tell me how I can have
text appear in a cell that says something like "worksheet
was not calculated"? So that if the user prints the
report without recalculating they can see that right on
the report.

Thanks for your help.

Jeff
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
Returning calculation status Phil H Excel Worksheet Functions 1 August 14th 08 06:03 PM
Calculation appear on status bar when in autocalc mode RiverGully Excel Discussion (Misc queries) 4 October 20th 07 09:03 AM
STATUS BAR LENGHT OF CALCULATION BOX Chris Excel Discussion (Misc queries) 1 November 16th 06 05:16 PM
I want to return a value based on the status of a check box. If . JROD Excel Worksheet Functions 1 April 4th 05 08:18 PM
Syntax to check protected status of a worksheet? [email protected] Excel Discussion (Misc queries) 2 January 18th 05 02:53 PM


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