Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default displaying changes

I am needing to display the date and time that text is entered into a
specific cell, and it not change. - is that possible? = example - if and
address is entered in A1 -then in A2 I need the date and time that it was
entered, without it changing.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,069
Default displaying changes

Try this event code:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.AddressLocal = "$A$1" Then
Target.Offset(0, 1).Value = Now()
End If
End Sub

Right-click on the sheet tab of the worksheet where you want this to work.
Select "View code" to open the Visual Basic Editor (VBE). In the big blank
window, paste the above code. Save the workbook, then close the VBE (File
Close) to return to regular Excel.

If you are new to macros, this link to Jon Peltier's site may be helpful:
http://peltiertech.com/WordPress/200...e-elses-macro/

Hope this helps,

Hutch

"Kackels" wrote:

I am needing to display the date and time that text is entered into a
specific cell, and it not change. - is that possible? = example - if and
address is entered in A1 -then in A2 I need the date and time that it was
entered, without it changing.

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
Displaying a zero Tommy Kramer 9[_2_] Excel Discussion (Misc queries) 3 January 15th 08 10:46 PM
Not displaying a value KB Excel Discussion (Misc queries) 3 May 17th 07 08:54 PM
HELP: text keeps on displaying ############## Dhruba Bandopadhyay Excel Worksheet Functions 2 March 27th 06 01:10 PM
Displaying a different value Mac Excel Discussion (Misc queries) 8 February 2nd 06 01:09 PM
Displaying #N/A as a zero kosciosco Excel Worksheet Functions 2 November 23rd 04 11:51 AM


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