Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Liz L :>) \)@discussions.microsoft.com>
 
Posts: n/a
Default AutoSave without editing, or calculating cells without change

I am pulling data from another place which gets updated on save, however not
just save, something on the sheet appears to need to be updated. I have
written a Module which saves the sheet on a pre defined timed interval. The
procedure is working (without editing the sheet). But my data will not
update unless I manually change a cell anywhere on the sheet, then at the
next timed interval of Save, all my tags are updated. How do I Change a cell
(from within my code) each pass through the timer. I beleive if the cell
automatically updated right before the save command, then my data hopefully
will update also, as if I had manually changed the cell (I hope anyways).
The workbook is saving (with my procedure), yet it is not calculating the
cells upon save. PS - Thanks for auto timer (OnTime) to cpearson.
  #2   Report Post  
Norman Jones
 
Posts: n/a
Default AutoSave without editing, or calculating cells without change

Hi Liz,

Look at the Calculate method in VBA help,

You can optionally, calculate a specific range, a specific worksheet or all
open workbooks.


---
Regards,
Norman


<Liz L : wrote in message
...
I am pulling data from another place which gets updated on save, however
not
just save, something on the sheet appears to need to be updated. I have
written a Module which saves the sheet on a pre defined timed interval.
The
procedure is working (without editing the sheet). But my data will not
update unless I manually change a cell anywhere on the sheet, then at the
next timed interval of Save, all my tags are updated. How do I Change a
cell
(from within my code) each pass through the timer. I beleive if the cell
automatically updated right before the save command, then my data
hopefully
will update also, as if I had manually changed the cell (I hope anyways).
The workbook is saving (with my procedure), yet it is not calculating the
cells upon save. PS - Thanks for auto timer (OnTime) to cpearson.



  #3   Report Post  
Liz L :>)
 
Posts: n/a
Default AutoSave without editing, or calculating cells without change

I can't get a hit on Calculate Method. If I hit the F9 (Calc Now) key when
in excel, it updates the sheet. There must be code which automates this.

Please help!

Thanks,

Liz

"Norman Jones" wrote:

Hi Liz,

Look at the Calculate method in VBA help,

You can optionally, calculate a specific range, a specific worksheet or all
open workbooks.


---
Regards,
Norman


<Liz L : wrote in message
...
I am pulling data from another place which gets updated on save, however
not
just save, something on the sheet appears to need to be updated. I have
written a Module which saves the sheet on a pre defined timed interval.
The
procedure is working (without editing the sheet). But my data will not
update unless I manually change a cell anywhere on the sheet, then at the
next timed interval of Save, all my tags are updated. How do I Change a
cell
(from within my code) each pass through the timer. I beleive if the cell
automatically updated right before the save command, then my data
hopefully
will update also, as if I had manually changed the cell (I hope anyways).
The workbook is saving (with my procedure), yet it is not calculating the
cells upon save. PS - Thanks for auto timer (OnTime) to cpearson.




  #4   Report Post  
Norman Jones
 
Posts: n/a
Default AutoSave without editing, or calculating cells without change

Hi Liz,

I can't get a hit on Calculate Method. If I hit the F9 (Calc Now)
key when in excel, it updates the sheet. There must be code
which automates this.



Look at the Calculate method in VBA help,


From VBA help:

'---------------------------
Calculate Method

Calculates all open workbooks, a specific worksheet in a workbook, or a
specified range of cells on a worksheet, as shown in the following table.

To calculate Follow this example
All open workbooks Application.Calculate (or just Calculate)
A specific worksheet Worksheets(1).Calculate
A specified range Worksheets(1).Rows(2).Calculate
'<<---------------------------


---
Regards,
Norman



"Liz L :)" wrote in message
...
I can't get a hit on Calculate Method. If I hit the F9 (Calc Now) key when
in excel, it updates the sheet. There must be code which automates this.

Please help!

Thanks,

Liz

"Norman Jones" wrote:

Hi Liz,

Look at the Calculate method in VBA help,

You can optionally, calculate a specific range, a specific worksheet or
all
open workbooks.


---
Regards,
Norman


<Liz L : wrote in message
...
I am pulling data from another place which gets updated on save, however
not
just save, something on the sheet appears to need to be updated. I
have
written a Module which saves the sheet on a pre defined timed interval.
The
procedure is working (without editing the sheet). But my data will not
update unless I manually change a cell anywhere on the sheet, then at
the
next timed interval of Save, all my tags are updated. How do I Change
a
cell
(from within my code) each pass through the timer. I beleive if the
cell
automatically updated right before the save command, then my data
hopefully
will update also, as if I had manually changed the cell (I hope
anyways).
The workbook is saving (with my procedure), yet it is not calculating
the
cells upon save. PS - Thanks for auto timer (OnTime) to cpearson.






  #5   Report Post  
Liz L :>)
 
Posts: n/a
Default AutoSave without editing, or calculating cells without change

Norman -

You are my hero! I did ask for Calculate Method, and it came up with zero
hits. I did this from excel inside a VBA module and asked for help. Any
idea what I did wrong to not get what you got?

Thanks again, I appreciate thee extra help. I just learned about
programming in a class last week, so I am excited to find things on my own,
as it means I can do more on my own.

"Norman Jones" wrote:

Hi Liz,

I can't get a hit on Calculate Method. If I hit the F9 (Calc Now)
key when in excel, it updates the sheet. There must be code
which automates this.



Look at the Calculate method in VBA help,


From VBA help:

'---------------------------
Calculate Method

Calculates all open workbooks, a specific worksheet in a workbook, or a
specified range of cells on a worksheet, as shown in the following table.

To calculate Follow this example
All open workbooks Application.Calculate (or just Calculate)
A specific worksheet Worksheets(1).Calculate
A specified range Worksheets(1).Rows(2).Calculate
'<<---------------------------


---
Regards,
Norman



"Liz L :)" wrote in message
...
I can't get a hit on Calculate Method. If I hit the F9 (Calc Now) key when
in excel, it updates the sheet. There must be code which automates this.

Please help!

Thanks,

Liz

"Norman Jones" wrote:

Hi Liz,

Look at the Calculate method in VBA help,

You can optionally, calculate a specific range, a specific worksheet or
all
open workbooks.


---
Regards,
Norman


<Liz L : wrote in message
...
I am pulling data from another place which gets updated on save, however
not
just save, something on the sheet appears to need to be updated. I
have
written a Module which saves the sheet on a pre defined timed interval.
The
procedure is working (without editing the sheet). But my data will not
update unless I manually change a cell anywhere on the sheet, then at
the
next timed interval of Save, all my tags are updated. How do I Change
a
cell
(from within my code) each pass through the timer. I beleive if the
cell
automatically updated right before the save command, then my data
hopefully
will update also, as if I had manually changed the cell (I hope
anyways).
The workbook is saving (with my procedure), yet it is not calculating
the
cells upon save. PS - Thanks for auto timer (OnTime) to cpearson.






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 change a cell's contents to it's formula's value? Cindy Excel Worksheet Functions 1 July 18th 05 05:55 AM
Cannot change formats of cells??? ChrisA Excel Discussion (Misc queries) 2 June 27th 05 05:58 PM
i change a source and the other cells wont change cody Excel Worksheet Functions 1 June 21st 05 04:36 PM
Heps to design Locked/Unlocked cells in protected worksheet Kevin Excel Discussion (Misc queries) 0 December 30th 04 07:09 AM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


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