+ Reply to Thread
Results 1 to 7 of 7

1 CommandButton to Start and End timestamp

  1. #1
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    1 CommandButton to Start and End timestamp

    Hi,

    I know that we can easily create a timestamp using a command button:

    Please Login or Register  to view this content.
    that's the start time, so how about i'm gonna use the same button to end the time, and once the start and end time has value if you click the same commandbutton there should nothing happen because there's already a value.

    really appreciate any inputs.


  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: 1 CommandButton to Start and End timestamp

    Hi

    Please provide cell ref for start time and cell reference for end time

    Also why use a button when you can use a double click?

  3. #3
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    Re: 1 CommandButton to Start and End timestamp

    Hi mehmetcik, thanks for the response..

    well i'll use a button because of i'm going to protect the worksheet. i'd rather have this vb code:
    Please Login or Register  to view this content.
    where c2 is the start time.. and c3 for the end time.

    Thanks.!

  4. #4
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    Re: 1 CommandButton to Start and End timestamp

    I know it's possible.. please help me guys

  5. #5
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    Re: 1 CommandButton to Start and End timestamp

    anyone?????

  6. #6
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: 1 CommandButton to Start and End timestamp

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    07-20-2009
    Location
    philippines
    MS-Off Ver
    Excel 2007
    Posts
    203

    Re: 1 CommandButton to Start and End timestamp

    works perfectly! Thanks man!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Commandbutton in userform to execute code based on a previous commandbutton choice?
    By michaeljoeyeager in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2012, 03:28 PM
  2. When a timestamp doesn't behave as a timestamp
    By mredekopp in forum Excel General
    Replies: 3
    Last Post: 03-07-2011, 03:39 PM
  3. Start and stop timestamp
    By Terriz in forum Excel General
    Replies: 3
    Last Post: 07-22-2009, 03:15 AM
  4. Replies: 0
    Last Post: 05-06-2006, 04:35 PM
  5. [SOLVED] Start BuildFreeForm from a commandbutton?
    By Ian M in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2006, 03:10 PM

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