LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Full recalculation when opening a workbook

I would like to trigger full re-calculation (equivalent to CTRL-ALT-F9
or Application.CalculateFull) whenever I load a new workbook.

I have Excel 97 SR-2, so CalculateFull is not available to me.

I am working on a project where at present I need to manually do a
CTRL-ALT-F9 whenever I open an existing sheet, so I would like to
automate this.

I have created an add-in with the following procedure defined in the
workbook vba

Private Sub Workbook_Open()
Application.SendKeys ("^%{F9}")
DoEvents
Debug.Print ("Sent keys")
End Sub

Now I can see the message printed so the code has been excuted, but
there is no effect on the sheet : I still need to manually do
CTRL-ALT-F9 before the sheet is in the state I require.

The question is: why didn't the sheet receive the message to
re-calculate and what can I do to fix this?

 
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
Disabling formula recalculation when opening or closing workbooks Joe Excel Discussion (Misc queries) 3 August 5th 08 09:24 PM
Ctrl+Alt+F9 not performing Full Recalculation on some PCs Shawn Excel Worksheet Functions 4 August 10th 06 07:42 PM
Opening in Full Screen. skrol New Users to Excel 4 September 22nd 05 09:37 AM
"Disk is full" error when opening Excel 2000. Mike Excel Discussion (Misc queries) 0 June 30th 05 06:39 PM
Prevent recalculation when opening earlier versions Mats Nilsson Excel Programming 1 April 20th 05 04:39 PM


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

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

About Us

"It's about Microsoft Excel"