Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Antonio Duarte
 
Posts: n/a
Default Automatically execute a CTRL-ALT-F9 when I open a workbook

I created a function that reads data from other files and returns the result
in a cell. So, I would like to automatically force recalculation every time
my WB is openned.
How can it be done?
Tks.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could use an auto_open sub:

Option explicit
sub auto_open()
application.calculatefull
end sub

If .calculatefull isn't available to you (added in xl2k????).

You could use:

Application.SendKeys "%^{F9}"



Antonio Duarte wrote:

I created a function that reads data from other files and returns the result
in a cell. So, I would like to automatically force recalculation every time
my WB is openned.
How can it be done?
Tks.


--

Dave Peterson
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 automatically open linked documents in Excel? DroKoz New Users to Excel 3 June 28th 05 03:25 PM
Execute Macro automatically after hyperlink Bill Elerding Excel Discussion (Misc queries) 13 May 5th 05 01:01 AM
Automatically open excel file after log in Emkay Excel Discussion (Misc queries) 1 January 27th 05 11:36 PM
Find (Ctrl +F) not searching all open sheets Caroline Excel Worksheet Functions 2 January 22nd 05 05:45 PM
How can I set up a Macro to automatically run when I open a speci. Rick Martin Excel Discussion (Misc queries) 1 January 13th 05 05:06 PM


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