Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
justin4480
 
Posts: n/a
Default Newbie Question, NOW() function


I have created a simple macro that creates a time stamp on a specific
cell using the NOW() function. It works perfectly, but resets the
time/date each time I open the document.

Any help would be greatly appreciated.


Code Below:

Sub Time_Stamp()
'
' Time_Stamp Macro
'
Range("B11").Select
ActiveCell.FormulaR1C1 = "=NOW()"
Range("B12").Select

End Sub


--
justin4480
------------------------------------------------------------------------
justin4480's Profile: http://www.excelforum.com/member.php...o&userid=34907
View this thread: http://www.excelforum.com/showthread...hreadid=546465

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul B
 
Posts: n/a
Default Newbie Question, NOW() function

Justin4480, try this

Sub Time_Stamp()
'
' Time_Stamp Macro
'
Range("B11") = Now

End Sub


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"justin4480" wrote
in message ...

I have created a simple macro that creates a time stamp on a specific
cell using the NOW() function. It works perfectly, but resets the
time/date each time I open the document.

Any help would be greatly appreciated.


Code Below:

Sub Time_Stamp()
'
' Time_Stamp Macro
'
Range("B11").Select
ActiveCell.FormulaR1C1 = "=NOW()"
Range("B12").Select

End Sub


--
justin4480
------------------------------------------------------------------------
justin4480's Profile:

http://www.excelforum.com/member.php...o&userid=34907
View this thread: http://www.excelforum.com/showthread...hreadid=546465



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
justin4480
 
Posts: n/a
Default Newbie Question, NOW() function


Perfect.

Thanks Paul


--
justin4480
------------------------------------------------------------------------
justin4480's Profile: http://www.excelforum.com/member.php...o&userid=34907
View this thread: http://www.excelforum.com/showthread...hreadid=546465

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Paul B
 
Posts: n/a
Default Newbie Question, NOW() function

Your welcome

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"justin4480" wrote
in message ...

Perfect.

Thanks Paul


--
justin4480
------------------------------------------------------------------------
justin4480's Profile:

http://www.excelforum.com/member.php...o&userid=34907
View this thread: http://www.excelforum.com/showthread...hreadid=546465



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
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Newbie: worksheet function help CF Excel Worksheet Functions 1 September 23rd 05 05:51 AM
Newbie and use of lookup question? manasi Excel Discussion (Misc queries) 6 September 21st 05 01:03 PM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Dynamic Function Reference Question excel newbie Excel Discussion (Misc queries) 1 April 20th 05 08:09 PM


All times are GMT +1. The time now is 03:17 AM.

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"