+ Reply to Thread
Results 1 to 3 of 3

Excel timestamp w/ button to specific cells

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    tampa, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Excel timestamp w/ button to specific cells

    Hi,

    I am trying to gather metrics about time spent running database queries. I thought I would have an excel spreadsheet that had a start and stop button that will log the time so I can say 1)this many queries were run by me in this many days and 2)it took this much time.

    I've come up floating button labeled Start. I'd like to assign this to specific cells, but this will work until I can figure it out. I'd like to able to assign it with a macro that put the start time in a specific cell. I'm not sure if it is possible have it continue down a column automatically. As in, hit the button and C1 logs the time. push again and C2 logs the time etc. I apologize for the complete lack of knowledge. Thank you in advance for any help!

    Macro so far:

    Please Login or Register  to view this content.
    Last edited by bjaeger2003; 06-25-2012 at 08:35 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Excel timestamp w/ button to specific cells

    Maybe:

    Please Login or Register  to view this content.

    As per forum rules, could you please EDIT your post above and add CODE and /CODE tags around your posted code? Thanks.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    tampa, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel timestamp w/ button to specific cells

    Thank you so much! That did it!

+ 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