enter time when shape is clicked

  • Thread starter Thread starter Dgwood90
  • Start date Start date
D

Dgwood90

I want users to click a shape when they are done entering data, so that the
current time is entered into another cell.
 
Assign the following macro to the Shape:

Sub timeIt()
Range("B9").Value = Time()
End Sub

Adjust the address to suit.
 

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