Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PWS PWS is offline
external usenet poster
 
Posts: 18
Default Stop Updating Today() On opening

Is there a way to have a workbook open, and have the Today() function
in a cell not update itself.

I have tried setting recalculation to manual prior to opening the
workbook and this does not achieve what I am looking for.

PWS

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 492
Default Stop Updating Today() On opening

You cant stop TODAY() updating itself unless you paste special values it.
Try using this code in This Workbook, hit Alt and F11 to open the VB editor,
click 'This Workbook' on the top left, copy and paste the code into the
empty window and save the file.
Alter the sheet and range to suit,
Regards,
Alan.

Private Sub Workbook_Open()
Sheet1.Range("A1") = Date
End Sub
"PWS" wrote in message
ups.com...
Is there a way to have a workbook open, and have the Today() function
in a cell not update itself.

I have tried setting recalculation to manual prior to opening the
workbook and this does not achieve what I am looking for.

PWS


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Stop Updating Today() On opening

hi,
=now() will always show the current date.
if you want to enter todays date and have it stay that way, use the keyboard
shortcut Ctrl+;

Regards
FSt1

"PWS" wrote:

Is there a way to have a workbook open, and have the Today() function
in a cell not update itself.

I have tried setting recalculation to manual prior to opening the
workbook and this does not achieve what I am looking for.

PWS


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Stop Updating Today() On opening

It depends how you did it. If you used VBA then use use the DATE function
with no brackets. If you did it directly in a cell then enter a static date
with CTRL;

Mike

"PWS" wrote:

Is there a way to have a workbook open, and have the Today() function
in a cell not update itself.

I have tried setting recalculation to manual prior to opening the
workbook and this does not achieve what I am looking for.

PWS


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PWS PWS is offline
external usenet poster
 
Posts: 18
Default Stop Updating Today() On opening

The problem is that a workbook contains a Today() function in a cell.
I want to be able to re-open that workbook as it was when it was
saved. But when the workbook is re-opened, all the cells that are
dependant on the Today() cell recalculate, even though recalculation
is turned off.

I appreciate the other advice, but can anyone suggest a way to solve
my issue?

PWS




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Stop Updating Today() On opening

today() is volitile
a workaround is for you to use a macro to change the today() to the date
asat close of file
If A1 has your main =today() entry
enter in the workbook page in visual basic
Private Sub Workbook_BeforeClose(Cancel As Boolean)
cells(1,1)=date
End Sub

then use another macro to reestablish the = today() in the cell.

depending on what you want to do before you put in the new =today() would
influence what type of macro you would wwant to use


"PWS" wrote:

The problem is that a workbook contains a Today() function in a cell.
I want to be able to re-open that workbook as it was when it was
saved. But when the workbook is re-opened, all the cells that are
dependant on the Today() cell recalculate, even though recalculation
is turned off.

I appreciate the other advice, but can anyone suggest a way to solve
my issue?

PWS



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 to Stop =TODAY() date function changing byitself Kevin Excel Worksheet Functions 8 January 2nd 07 01:51 PM
I need to figure out how to get this =(DAY(TODAY())*2) to stop calcul. at end of mnth Renz09 Excel Discussion (Misc queries) 1 May 3rd 06 10:22 AM
How do I stop a date from automatically updating? Canwoman88 Excel Discussion (Misc queries) 5 January 9th 06 07:12 PM
'updating' without 'opening' John Phillips Excel Discussion (Misc queries) 0 December 14th 05 05:47 PM
How do I stop today() from updating date on saved spreadsheets? lionmark Excel Discussion (Misc queries) 2 January 4th 05 01:03 AM


All times are GMT +1. The time now is 01:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"