+ Reply to Thread
Results 1 to 8 of 8

Add button to start count of how many day since last klick. Add button to count % of total

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Sverige
    MS-Off Ver
    Excel 2013
    Posts
    16

    Add button to start count of how many day since last klick. Add button to count % of total

    Hey!

    New one here and new at Excel.

    I am trying to build a document with all the formulas and functions that I need. Some things that I´m looking for:

    1. I want to add a cell where you can see "Days since last update". When I click on a button, the count starts. Is this possible? I belive that you can add date when you last did something, but I want it to be easy to just click when I´v updated. This because I sometimes does alot at the same time.

    2. I also wants to save history, something like the date of the five last updates.

    3. The last thing that I was thinking about is: I have 5 different types of updates that can be made. I want to press on the one of the five I did on a button/cell and that the % (can also be in decimal or without the "%") should be automaticly updated in the 5 different cells. Is this possible?

    As I mentioned before: I am new at Excel so I have no clue of what is possible and not. Please help me through!

    Best regards
    Last edited by Mr.Bennet; 08-13-2013 at 02:42 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    Hi,

    Give this a go: SinceLastClick.xlsm

    Hope this is what you were after

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Sverige
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    **** man, thanks alot! Wow!

    I tried to change some stuff, bud dident make it. And the buttons was impossible to move?

    I would like to make the click buttom as big as a cell. And to fit the size. Is that possible?

    Exampel.xlsx

  4. #4
    Registered User
    Join Date
    08-13-2013
    Location
    Sverige
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    Edit: Looks like I switched the "e" and "l" in Example.

  5. #5
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    It sure is, just enter Design Mode and then you will be able to move and resize the buttons.

    I haven't used Excel 2003 before, so you may need to look in the help files for how to enter Design Mode (or hopefully someone will see this post and let you know through this forum). All I know is it has something to do with the Control Toolbox (if this means anything to you).

    Please don't forget to mark this thread as solved once you are satisfied with the solution, and click the star on the bottom-left of my post to say thanks

  6. #6
    Registered User
    Join Date
    08-13-2013
    Location
    Sverige
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    Hello again,

    I have managed to change things around alittle - thanks.

    Is it possible to change the "Update button" lable to the % of total updates?

    And another thing. I want all of this to be in one row. This because I want to have alot of rows, like 200. And the button and % should be uniqe for each row. To my question: Can you copy the button and % functions to each row? Withouth loosing the uniqe % for each row?

  7. #7
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    Yes, you can have the button update to the % of total updates. I have now updated the example that I sent you last time, which means you will have to move your buttons around again, or alternatively copy and past the code into your own working spreadsheet.

    Yes the buttons can be copied, but the code would have to be altered considerably to accommodate 200 rows, as I have only written it to accommodate 5 rows.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    08-13-2013
    Location
    Sverige
    MS-Off Ver
    Excel 2013
    Posts
    16

    Re: Add button to start count of how many day since last klick. Add button to count % of t

    Hello again,

    Getting closer! Thank you for the help so far, added some reputation for the awesome help.

    I have attatched the file as I have changed it. Some things is getting weird. When I exited design mode and tried the button the data I had placed in the cells where the % used to be became the title of the button changed and I couldent go back to change it and I dont understand how the coding is done. Could you please change back? And maybe change so that I can have those cells filled up without risking the title to be changed? It is a total of 168 rows and the column is reaching "AL".

    And I would also like to add more history, up to update 20. Is that possible to change? And is it possible to save the total numbers of updates under "Total updates"?

    And the last thing, how to multiple the rows? I want it uniqe data for up to the 168th row.

    Thanks again, really appreciate your help..!

    SinceLastClick (1).xlsm

+ 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. VBA – User Designed Functions (UDF) - Renaming array functions
    By hbsonly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2013, 02:00 PM
  2. Replies: 1
    Last Post: 02-10-2012, 05:27 PM
  3. Replies: 0
    Last Post: 11-15-2007, 05:24 AM
  4. [SOLVED] efficiency: database functions vs. math functions vs. array formula
    By nickname in forum Excel General
    Replies: 2
    Last Post: 07-13-2006, 11:30 PM
  5. [SOLVED] Conversion from Spreadsheet Toolkit functions (ESSV....) to EssBase API functions
    By sujay in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-05-2006, 05:20 AM

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