+ Reply to Thread
Results 1 to 3 of 3

Problem using time and formulas with a form

  1. #1
    Registered User
    Join Date
    03-25-2009
    Location
    San Jose
    MS-Off Ver
    Excel 2007
    Posts
    83

    Problem using time and formulas with a form

    I want to click a command button on a form and populate a cell with a time stamp in HH:MM format, AND have it show in a text box next to the button.

    Well, actually two buttons, one for start, one for stop.

    Then I want to have the worksheet calculate the elapsed time and show that on the form in the same HH:MM format.

    The problems I'm encountering:

    1)The form overwrites the formula the way I have it set up.
    2)I can't get the time to be shown on the form in the HH:MM format
    Attached Files Attached Files
    Last edited by D3Pratt; 03-28-2009 at 02:22 AM. Reason: Solved

  2. #2
    Registered User
    Join Date
    03-25-2009
    Location
    San Jose
    MS-Off Ver
    Excel 2007
    Posts
    83

    Re: Problem using time and formulas with a form

    Been thinking about this all day

    I think the solution to problem 1 is to have a macro execute the same function I was doing as a formula, then write that value to a cell that the Text Box will just mirror.

    Now, I need to figure a way to include that macro with the execution of the second (Stop) Button.

  3. #3
    Registered User
    Join Date
    03-25-2009
    Location
    San Jose
    MS-Off Ver
    Excel 2007
    Posts
    83

    Re: Problem using time and formulas with a form

    Wow, Busy day.

    OK, this is solved, and I redid my sample to show how I did it.

    Hope this helps people.
    Attached Files Attached Files

+ 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