D
Dave
Hi,
I am using Excel 2000 for invoicing. I would like to freeze the
current date so that when I reopen the workbook it shows the date the
invoice was created.
I can use =now() in the cell and then a macro to freeze the date.
Sub FreezeDate()
'
' FreezeDate Macro
' Macro recorded 13/05/99 by David Carpenter
'
'
Selection.Copy
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
End Sub
I would like to use a function to freeze the date rather than using a
macro.
I can do one where I put =created() in a cell and then
Function Created()
Created = ActiveWorkbook.BuiltinDocumentProperties.Item(11)
End Function
But this gives me the date when the original file was created not
freezing today's date. Can anyone suggest how I can change the
Function module?
Regards
David
dapeca@hotmaildotCom
I am using Excel 2000 for invoicing. I would like to freeze the
current date so that when I reopen the workbook it shows the date the
invoice was created.
I can use =now() in the cell and then a macro to freeze the date.
Sub FreezeDate()
'
' FreezeDate Macro
' Macro recorded 13/05/99 by David Carpenter
'
'
Selection.Copy
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone,
SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
End Sub
I would like to use a function to freeze the date rather than using a
macro.
I can do one where I put =created() in a cell and then
Function Created()
Created = ActiveWorkbook.BuiltinDocumentProperties.Item(11)
End Function
But this gives me the date when the original file was created not
freezing today's date. Can anyone suggest how I can change the
Function module?
Regards
David
dapeca@hotmaildotCom