+ Reply to Thread
Results 1 to 5 of 5

How Do I create a clickable Timestamp button

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2007
    Posts
    1

    How Do I create a clickable Timestamp button

    I love Excel...

    I have all kinds of timestamps in my workbooks using VB editor, but they all require you to enter a character into the cell in order to show the timestamp. The one thing I cannot seem to find anywhere is how do I create a time stamp that is activated by merely clicking a button. Lets say I create a hyperlink button that you click and the next cell over shows the timestamp. Even if its just a cell that you click, (i.e., click any cell in column A and the same row in column B will show the timestamp

    Thanks for the help
    RC

  2. #2
    Valued Forum Contributor AlvaroSiza's Avatar
    Join Date
    09-19-2007
    Location
    Staffordshire
    MS-Off Ver
    2007
    Posts
    591

    Re: How Do I create a clickable Timestamp button

    The following would place a timestamp in Cell A1. You can modify as needed to tie it to a button or include within a worksheet_SelectionChange event.

    Please Login or Register  to view this content.
    Perhaps it was the Noid who should have avoided me...
    If you are satisfied with my solution click the small star icon on the left. Thanks
    1. Make a copy of your workbook and run the following code on your copy (just in case)
    2. With excel open, press ALT+F11 to open the Visual Basic Editor (VBE). From the "Insert" menu, select "Module".
    3. Paste the code from above into the empty white space. Close the VBE.
    4. From the developer tab, choose "Macros", select the Sub Name, and click "Run".

  3. #3
    Registered User
    Join Date
    09-07-2012
    Location
    Chattanooga, TN
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: How Do I create a clickable Timestamp button

    How do you edit the "A1" cell to the "next available cell in column C"? (Excel novice)

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How Do I create a clickable Timestamp button

    Hello scubacamper, and welcome to the forum.

    Unfortunately you have inadvertently broken one of the forum rules. Please read the following and make the necessary change. Thanks.

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: How Do I create a clickable Timestamp button

    Quote Originally Posted by bookwrm View Post
    I have all kinds of timestamps in my workbooks using VB editor, but they all require you to enter a character into the cell in order to show the timestamp. RC
    I'm not sure what you mean by this.
    Also I'm not sure about exactly what you are after.
    And even more important, I'm not sure about your skill level in Excel.
    I'm just gonna make some assumptions and then you have to ask if you need further instructions.

    How about a button that enters the date (or time) in selected cells?
    I would put that button on my Quick Access Toolbar so that it doesn't go away with scrolling.

    Please Login or Register  to view this content.
    Paste any (or all) of the above in a Module in your Personal workbook, that way the function will always be accessible.

    Choose "More commands" from the little arrow on your Quick Access Toolbar.
    Choose "Macros" instead of "Popular Commands" in the dropdown menu.
    You should then be able to choose a macro.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1