#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Clarification

Hi
I have tried the formula from
http://www.mcgimpsey.com/excel/timestamp.html

but it returns a 01/01/1009 type thing and not the date
please explain I am a bit of an amature.

Regards

Pete


"Earl Kiosterud" wrote:

Rusian,

This will put the latest date in column A any time you add or change any
information in B:D:

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:D")) Is Nothing Then
Cells(Target.Row, 1) = Now
End If
End Sub

This will put the date in column A the first time you put information into a
row in B:D, but won't change it if you add or change information later in a
row that already has a date in column A.

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:D")) Is Nothing And
IsEmpty(Cells(Target.Row, 1)) Then
Cells(Target.Row, 1) = Now
End If

Paste it from here into the sheet module in the VBE.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"Ruslan" wrote in message
...
to make it clear...is it possible to make excel add automatically date in,
for example, A10 column when I enter information in B10 ?





"Ruslan" wrote:

Hello everyone:

In a column A1:A1000...i have to enter each time current Date along with
some other information in the following columns (B,C,D...) so within a

day i
make about 50 such entries ....is it possible to make it so that it will
change the date when I enter any information in, for example
B1:B1000...automatically according to the current date in computer?

thanks,




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Clarification

If you meant to type 01/01/1900 then this is a date - 1 Jan 1900
Are you looking for a time? Try formatting the cell with Time
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"pmayne181" wrote in message
...
Hi
I have tried the formula from
http://www.mcgimpsey.com/excel/timestamp.html

but it returns a 01/01/1009 type thing and not the date
please explain I am a bit of an amature.

Regards

Pete


"Earl Kiosterud" wrote:

Rusian,

This will put the latest date in column A any time you add or change any
information in B:D:

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:D")) Is Nothing Then
Cells(Target.Row, 1) = Now
End If
End Sub

This will put the date in column A the first time you put information
into a
row in B:D, but won't change it if you add or change information later in
a
row that already has a date in column A.

Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B:D")) Is Nothing And
IsEmpty(Cells(Target.Row, 1)) Then
Cells(Target.Row, 1) = Now
End If

Paste it from here into the sheet module in the VBE.
--
Earl Kiosterud
mvpearl omitthisword at verizon period net
-------------------------------------------

"Ruslan" wrote in message
...
to make it clear...is it possible to make excel add automatically date
in,
for example, A10 column when I enter information in B10 ?





"Ruslan" wrote:

Hello everyone:

In a column A1:A1000...i have to enter each time current Date along
with
some other information in the following columns (B,C,D...) so within
a

day i
make about 50 such entries ....is it possible to make it so that it
will
change the date when I enter any information in, for example
B1:B1000...automatically according to the current date in computer?

thanks,






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
Subtotal - Clarification DumbCluck New Users to Excel 1 December 10th 07 10:27 PM
If Then Statement Clarification Joanne Excel Discussion (Misc queries) 3 January 30th 06 10:26 PM
Beyond VLOOKUP Clarification nebb Excel Worksheet Functions 2 July 3rd 05 11:30 PM
If function clarification jmcclain Excel Worksheet Functions 5 February 23rd 05 08:12 PM
If and Dates Clarification wal50 Excel Worksheet Functions 4 January 4th 05 07:31 PM


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