Automatically execute a CTRL-ALT-F9 when I open a workbook

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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}"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top