Prev Previous Post   Next Post Next
  #2   Report Post  
Ian
 
Posts: n/a
Default now()

If you are using a macro to enter the date, first test the value of F1 to
see if it is blank.

If Range("F1").Value = "" Then Range("F1").Value = Now()

--
Ian
--
"AccessHelp" wrote in message
...
Good morning,

How can I make the now() function static?

What I am trying to do is we submit our timesheet every week. I have a
macro set up to write the date that submit in Cell F1 using now(). The
problem is when we open the same timesheet next time, the date will change
to
that current date.

I want the date to be the same date that I submit my timesheet and want
the
date to be in the format "10/26/05". I tried using quotes around the
now()
function, and it returns value instead of date.

Any other suggestions are welcomed. Thanks.



 
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



All times are GMT +1. The time now is 02:00 AM.

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"