Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I change a cell's contents to it's formula's value? | Excel Worksheet Functions | |||
Cannot change formats of cells??? | Excel Discussion (Misc queries) | |||
i change a source and the other cells wont change | Excel Worksheet Functions | |||
Heps to design Locked/Unlocked cells in protected worksheet | Excel Discussion (Misc queries) | |||
Convert data of cells to any type: Number, Date&Time, Text | Excel Discussion (Misc queries) |