Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Automating the f9 (Calc Now) function key

I have an open workbook collecting data from anoher source upon either
autosave while editing (meaning I manually change an insignificant cell) or I
manually hit F9 (Calc Now). I would like it to automatically update
(Calculate the workbook). I have a module setup which is saving the workbook
automatically without edit, but this doesn't update the data (like Calc Now
does) (i.e. if I put the function NOW() in a cell on a worksheet, it returns
the current date and time. In order to see the time updated you must hit F9
or in Autosave mode, update any cell and upon autosave, it will update). Is
there code to immulate the F9 key being hit, without any manual intervention.
I'd like the workbook to update and save at pre-defined intervals all by
itself. Please help with update (calculate workbook function). It is my
intention to have this workbook updating and saving 24 hours a day, seven
days a week, 365 days a year (all by itself).

Thanks in advance for your help!
Liz
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default Automating the f9 (Calc Now) function key

Hi Liz

Have you tried:
application.Calculate

Regards
Rowan

Liz L :) wrote:
I have an open workbook collecting data from anoher source upon either
autosave while editing (meaning I manually change an insignificant cell) or I
manually hit F9 (Calc Now). I would like it to automatically update
(Calculate the workbook). I have a module setup which is saving the workbook
automatically without edit, but this doesn't update the data (like Calc Now
does) (i.e. if I put the function NOW() in a cell on a worksheet, it returns
the current date and time. In order to see the time updated you must hit F9
or in Autosave mode, update any cell and upon autosave, it will update). Is
there code to immulate the F9 key being hit, without any manual intervention.
I'd like the workbook to update and save at pre-defined intervals all by
itself. Please help with update (calculate workbook function). It is my
intention to have this workbook updating and saving 24 hours a day, seven
days a week, 365 days a year (all by itself).

Thanks in advance for your help!
Liz

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default Automating the f9 (Calc Now) function key

It is not clear whether you want to automate the workbook beging
recalculated or updated from the other source.

If the former, I assume you have calculation set to 'manual.' Either
set it to 'automatic' or check 'recalculate before save.' (Tools |
Option... | Calculate tab).

If the latter, depending on how you are getting the external data, there
is probably an option to 'update before save' or 'update on open.'
Check one (or both) of them.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Multi-disciplinary business expertise
+ Technology skills
= Optimal solution to your business problem
Recipient Microsoft MVP award 2000-2005

In article ,
says...
I have an open workbook collecting data from anoher source upon either
autosave while editing (meaning I manually change an insignificant cell) or I
manually hit F9 (Calc Now). I would like it to automatically update
(Calculate the workbook). I have a module setup which is saving the workbook
automatically without edit, but this doesn't update the data (like Calc Now
does) (i.e. if I put the function NOW() in a cell on a worksheet, it returns
the current date and time. In order to see the time updated you must hit F9
or in Autosave mode, update any cell and upon autosave, it will update). Is
there code to immulate the F9 key being hit, without any manual intervention.
I'd like the workbook to update and save at pre-defined intervals all by
itself. Please help with update (calculate workbook function). It is my
intention to have this workbook updating and saving 24 hours a day, seven
days a week, 365 days a year (all by itself).

Thanks in advance for your help!
Liz

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Automating the f9 (Calc Now) function key

That was it. Thaks for the expertise!

Liz

"Rowan Drummond" wrote:

Hi Liz

Have you tried:
application.Calculate

Regards
Rowan

Liz L :) wrote:
I have an open workbook collecting data from anoher source upon either
autosave while editing (meaning I manually change an insignificant cell) or I
manually hit F9 (Calc Now). I would like it to automatically update
(Calculate the workbook). I have a module setup which is saving the workbook
automatically without edit, but this doesn't update the data (like Calc Now
does) (i.e. if I put the function NOW() in a cell on a worksheet, it returns
the current date and time. In order to see the time updated you must hit F9
or in Autosave mode, update any cell and upon autosave, it will update). Is
there code to immulate the F9 key being hit, without any manual intervention.
I'd like the workbook to update and save at pre-defined intervals all by
itself. Please help with update (calculate workbook function). It is my
intention to have this workbook updating and saving 24 hours a day, seven
days a week, 365 days a year (all by itself).

Thanks in advance for your help!
Liz


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Automating the f9 (Calc Now) function key

You're welcome.

Liz L :) wrote:
That was it. Thaks for the expertise!

Liz

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
Need help on Automating a common function Stumped Non-IT-ian Excel Discussion (Misc queries) 5 May 6th 09 09:09 PM
Automating the Excel camera function kaitain Excel Discussion (Misc queries) 0 March 2nd 06 04:28 PM
Need help with automating the updating of a function in worksheet [email protected] Excel Worksheet Functions 4 February 10th 06 03:33 PM
Automating Fill series Function Multiple times ? Dan Thompson[_2_] Excel Programming 3 August 20th 04 01:15 AM
help automating the Replace function in Excel Heidi Rose Excel Programming 0 April 2nd 04 09:51 PM


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