Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ek10101
 
Posts: n/a
Default How to automatically insert date when text entered in neighboring

I would like to set up my spreadsheet so that when I enter text in a certain
cell the date is automatically posted in the next cell over. Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default How to automatically insert date when text entered in neighboring

Private Sub Worksheet_Change(ByVal Target As Range)
'Macro inserts date in cell to the right of the activecell upon value entry
ActiveCell.Select
If Not Selection Is Nothing Then
Application.Selection.Offset(0, 1).Value = Date
End If
End Sub


Vaya con Dios,
Chuck, CABGx3




"ek10101" wrote:

I would like to set up my spreadsheet so that when I enter text in a certain
cell the date is automatically posted in the next cell over. Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.misc
brian thompson3001 via OfficeKB.com
 
Posts: n/a
Default How to automatically insert date when text entered in neighboring

ek10101 wrote:
I would like to set up my spreadsheet so that when I enter text in a certain
cell the date is automatically posted in the next cell over. Any suggestions

hi

try this, a1 being the text cell
=IF(A1="","",TODAY()

regards

--
bnt

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200604/1
  #4   Report Post  
Posted to microsoft.public.excel.misc
ek10101
 
Posts: n/a
Default How to automatically insert date when text entered in neighbor

Thanks for the quick reply. It's close, except that I want the date to
update the day I enter the info, and then stay that date until the next time
that information is updated. With the "today" command, the date changes
every day.

"brian thompson3001 via OfficeKB.com" wrote:

ek10101 wrote:
I would like to set up my spreadsheet so that when I enter text in a certain
cell the date is automatically posted in the next cell over. Any suggestions

hi

try this, a1 being the text cell
=IF(A1="","",TODAY()

regards

--
bnt

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200604/1

  #5   Report Post  
Posted to microsoft.public.excel.misc
ek10101
 
Posts: n/a
Default How to automatically insert date when text entered in neighbor

I don't understand this post. Could you rephrase please? Thanks for your
help.

"CLR" wrote:

Private Sub Worksheet_Change(ByVal Target As Range)
'Macro inserts date in cell to the right of the activecell upon value entry
ActiveCell.Select
If Not Selection Is Nothing Then
Application.Selection.Offset(0, 1).Value = Date
End If
End Sub


Vaya con Dios,
Chuck, CABGx3




"ek10101" wrote:

I would like to set up my spreadsheet so that when I enter text in a certain
cell the date is automatically posted in the next cell over. Any suggestions?



  #6   Report Post  
Posted to microsoft.public.excel.misc
tonystowe
 
Posts: n/a
Default How to automatically insert date when text entered in neighboring


I am currently using a spreadsheet that I have decided to use the above
formula "=IF(A1="","",TODAY()" to decrease the time of entering my
data.

Thanks

Tony

Simple, yet effective!


--
tonystowe
------------------------------------------------------------------------
tonystowe's Profile: http://www.excelforum.com/member.php...o&userid=33162
View this thread: http://www.excelforum.com/showthread...hreadid=529296

  #7   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default How to automatically insert date when text entered in neighbor

My previous response is a macro, actually called a ChangeEvent macro.....it
goes in the Worksheet module of whatever sheet you wish the feature applied
to........if you're new to macros, you might want to take a look at David
McRitchie's site....

http://www.mvps.org/dmcritchie/excel/excel.htm

hth
Vaya con Dios,
Chuck, CABGx3


"ek10101" wrote in message
...
I don't understand this post. Could you rephrase please? Thanks for your
help.

"CLR" wrote:

Private Sub Worksheet_Change(ByVal Target As Range)
'Macro inserts date in cell to the right of the activecell upon value

entry
ActiveCell.Select
If Not Selection Is Nothing Then
Application.Selection.Offset(0, 1).Value = Date
End If
End Sub


Vaya con Dios,
Chuck, CABGx3




"ek10101" wrote:

I would like to set up my spreadsheet so that when I enter text in a

certain
cell the date is automatically posted in the next cell over. Any

suggestions?


  #8   Report Post  
Posted to microsoft.public.excel.misc
Ben Dummar
 
Posts: n/a
Default How to automatically insert date when text entered in neighbor

Chuck,

This macro is what I am looking for! Thanks!

How do I change it so that it only adds the date when any cell in column B
is updated instead of any cell in the spreadsheet.



Private Sub Worksheet_Change(ByVal Target As Range)
'Macro inserts date in cell to the right of the activecell upon value entry
ActiveCell.Select
If Not Selection Is Nothing Then
Application.Selection.Offset(0, 1).Value = Date
End If
End Sub


Vaya con Dios,
Chuck, CABGx3




"ek10101" wrote:

I would like to set up my spreadsheet so that when I enter text in a certain
cell the date is automatically posted in the next cell over. Any suggestions?

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
NETWORKDAYS - Multiple Date Selection Annabelle Excel Discussion (Misc queries) 3 October 4th 05 07:04 PM
Automatically Add in 56days to the date Kelly Lim Excel Discussion (Misc queries) 2 July 4th 05 03:19 AM
Changing Cell formats to date fields automatically PCLIVE Excel Worksheet Functions 3 April 12th 05 10:34 PM
Challenging Charting C TO Charts and Charting in Excel 0 January 17th 05 06:57 PM
how do i make a date change automatically if i change one before . dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 09:21 PM


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