Timestamp

aidanwhite

New Member
Joined
Oct 3, 2017
Messages
12
Hi,

Would anyone be able to tell me how to make the following work:

I'd like to be able to click a certain cell - let's say B5 - and then every time that cell is pressed, a list of the time and dates appear descending down another column (column J for example)?

Any response would be most useful,

Thank you!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Welcome to the Board!

What exactly would they be clicking on in cell B5? Are you going to add a Command Button to that cell they can click on?

If so, you can simply add some VBA code to that button that will add your DateStamp, i.e.
Code:
Sub MyTimeStamp()
    Cells(Rows.Count, "J").End(xlUp).Offset(1, 0) = Now()
End Sub
 
Upvote 0
That sounds good, thanks.

Unfortunately when I try to add a command button from the developer tab, a pop-up appears saying 'cannot insert object' - any ideas why??
 
Upvote 0
Did you try adding a "Form Control" Command Button or an "ActiveX" Command Button?
I believe that error happens often with "ActiveX" controls, but shouldn't for a "Form Control".
A Form Control Command Button should be sufficient here.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top