#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Time Stamping Cells

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Time Stamping Cells

Right click the sheet tab and paste this code in.

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column < 1 Then Exit Sub
Target.Offset(, 1) = Time
End Sub

Any data entered into column A will be time stamped in Col B and the date
will not change.

Mike

"Time" wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Time Stamping Cells

Like the event macro like the one that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

Seems like a good idea.

Time wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Time Stamping Cells

Is there a way that I can enable the macro without the popup box showing up
prompting if I would like to diable or enable macro?

"Dave Peterson" wrote:

Like the event macro like the one that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

Seems like a good idea.

Time wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Time Stamping Cells

You can change the security level to the lowest (MS doesn't recommend this) or
you could digitally sign the workbook and then trust that author.

Time wrote:

Is there a way that I can enable the macro without the popup box showing up
prompting if I would like to diable or enable macro?

"Dave Peterson" wrote:

Like the event macro like the one that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

Seems like a good idea.

Time wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.


--

Dave Peterson


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Time Stamping Cells

So I tried both methods. I changed the security level to LOW then saved. I
tried to open the shared workbook on another computer, and it still ask if i
want to enable/disable macro. I tried using the SELFCERT.EXE but i'm not all
too familiar with that.

"Dave Peterson" wrote:

You can change the security level to the lowest (MS doesn't recommend this) or
you could digitally sign the workbook and then trust that author.

Time wrote:

Is there a way that I can enable the macro without the popup box showing up
prompting if I would like to diable or enable macro?

"Dave Peterson" wrote:

Like the event macro like the one that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

Seems like a good idea.

Time wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.

--

Dave Peterson


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Time Stamping Cells

The security level setting doesn't travel with the workbook--it's a setting that
each user has to change.

Time wrote:

So I tried both methods. I changed the security level to LOW then saved. I
tried to open the shared workbook on another computer, and it still ask if i
want to enable/disable macro. I tried using the SELFCERT.EXE but i'm not all
too familiar with that.

"Dave Peterson" wrote:

You can change the security level to the lowest (MS doesn't recommend this) or
you could digitally sign the workbook and then trust that author.

Time wrote:

Is there a way that I can enable the macro without the popup box showing up
prompting if I would like to diable or enable macro?

"Dave Peterson" wrote:

Like the event macro like the one that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

Seems like a good idea.

Time wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Time Stamping Cells

Selfcert certificates are good only on the computer on which they are created.

You cannot export these.


Gord Dibben MS Excel MVP

On Thu, 8 Mar 2007 11:47:02 -0800, Time wrote:

So I tried both methods. I changed the security level to LOW then saved. I
tried to open the shared workbook on another computer, and it still ask if i
want to enable/disable macro. I tried using the SELFCERT.EXE but i'm not all
too familiar with that.

"Dave Peterson" wrote:

You can change the security level to the lowest (MS doesn't recommend this) or
you could digitally sign the workbook and then trust that author.

Time wrote:

Is there a way that I can enable the macro without the popup box showing up
prompting if I would like to diable or enable macro?

"Dave Peterson" wrote:

Like the event macro like the one that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

Seems like a good idea.

Time wrote:

So I was given this formula from this online help (very grateful by the way,
thanks for the help!!):

=IF(A1="","", IF(B1="", NOW(), B1))

But the thing is, it is a shared workbook. So when I hit save on my
computer, it does not reflect the time that "cell A1" was originally entered,
but rather the time it showed up "updated" on my computer. How can I prevent
this from happening? Would it be easier to put in the worksheet_change event
that I've been reading about on this site? Whichever is simpler will do.
Thanks for all the help everyone.

--

Dave Peterson


--

Dave Peterson


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
Time Stamping A Cell Time Excel Discussion (Misc queries) 3 March 8th 07 01:51 PM
Elapsed time when separate cells contain time and separate date Gnugs New Users to Excel 1 March 7th 07 08:48 AM
Running averages and time stamping Scott W Excel Worksheet Functions 0 May 13th 06 01:47 PM
Date and time stamping multiple cells for multiple entries. Gerald Excel Worksheet Functions 1 May 9th 06 01:45 PM
How to chnge 35 relative cells to 35 absolute cells at one time. Susan A at Millennium Medical Excel Worksheet Functions 3 March 7th 06 08:12 PM


All times are GMT +1. The time now is 05:35 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"