Auto Date/Time when click on cell

  • Thread starter Thread starter MAGICofSeth
  • Start date Start date
M

MAGICofSeth

As per the instructions, I will get straight to the point.

I would like to have a column of cells from "A9" down to "A(infinity)
that when I click on a single cell in that column, the current date an
time are entered into that cell only. If I were to click on a differen
cell in that column, the current date and time would automatically b
placed into that's cell only. Therby, two different times at leas
would be displated in two different cells which were clicked onl
clicked on a few moments apart.

The date and time need to be unchanging after it is "clicked" in. (no
constantly updating with the current date and time) which is m
problem.

That is all. If people could please email answers or VBA code to me at
(e-mail address removed) I would really be grateful.

Thank You!
--Set
 
This is not your personal service if you want it come and get it

Private Sub Worksheet_SelectionChange(ByVal Target As Range
Set isect = Intersect(Target, Range("A:A")
If Not isect Is Nothing Then Target.Value = Now(
End Su
----- MAGICofSeth > wrote: ----

As per the instructions, I will get straight to the point

I would like to have a column of cells from "A9" down to "A(infinity)
that when I click on a single cell in that column, the current date an
time are entered into that cell only. If I were to click on a differen
cell in that column, the current date and time would automatically b
placed into that's cell only. Therby, two different times at leas
would be displated in two different cells which were clicked onl
clicked on a few moments apart

The date and time need to be unchanging after it is "clicked" in. (no
constantly updating with the current date and time) which is m
problem

That is all. If people could please email answers or VBA code to me at
(e-mail address removed) I would really be grateful

Thank You
--Set
 
As per the instructions, I will get straight to the point.

I would like to have a column of cells from "A9" down to "A(infinity)"
that when I click on a single cell in that column, the current date and
time are entered into that cell only. If I were to click on a different
cell in that column, the current date and time would automatically be
placed into that's cell only. Therby, two different times at least
would be displated in two different cells which were clicked only
clicked on a few moments apart.

The date and time need to be unchanging after it is "clicked" in. (not
constantly updating with the current date and time) which is my
problem.

That is all. If people could please email answers or VBA code to me at:
(e-mail address removed) I would really be grateful.

Thank You!
--Seth

See answer in another excel newsgroup to which you posted this identical
message!

--ron
 
Private Sub Worksheet_SelectionChange(ByVal Target As Range
If Target.Cells.Count > 1 Then Exit Su
If Target.Row <= 8 Then Exit Su
Set isect = Intersect(Target, Range("A:A")
If Not isect Is Nothing Then Target.Value = Now(
End Su


----- chris wrote: ----

This is not your personal service if you want it come and get it

Private Sub Worksheet_SelectionChange(ByVal Target As Range
Set isect = Intersect(Target, Range("A:A")
If Not isect Is Nothing Then Target.Value = Now(
End Su
----- MAGICofSeth > wrote: ----

As per the instructions, I will get straight to the point

I would like to have a column of cells from "A9" down to "A(infinity)
that when I click on a single cell in that column, the current date an
time are entered into that cell only. If I were to click on a differen
cell in that column, the current date and time would automatically b
placed into that's cell only. Therby, two different times at leas
would be displated in two different cells which were clicked onl
clicked on a few moments apart

The date and time need to be unchanging after it is "clicked" in. (no
constantly updating with the current date and time) which is m
problem

That is all. If people could please email answers or VBA code to me at
(e-mail address removed) I would really be grateful

Thank You
--Set
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top