+ Reply to Thread
Results 1 to 10 of 10

Creating a numerical countdown

  1. #1
    Registered User
    Join Date
    02-19-2009
    Location
    Bentonville, AR
    MS-Off Ver
    Excel 2010
    Posts
    16

    Creating a numerical countdown

    I need help figuring a way to show what I have left on a spreadsheet. Please see the following thread with attachments in them. Any help would be appreciated. Thanks.

    http://www.excelforum.com/excel-gene...countdown.html

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Creating a numerical countdown

    It would be thoughtful of you to at least comment in your other thread about why the offered solution might not have been acceptable, before reposting the question...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Creating a numerical countdown

    Hello timothystow,

    I have looked at your workbook. It is very easy to do what you want. The question I have for you is how are the reports generated? I see no formulae or VBA code to create them.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  4. #4
    Registered User
    Join Date
    02-19-2009
    Location
    Bentonville, AR
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Creating a numerical countdown

    The report is generated from another Excel spreadsheet called "Tamextract" which extracts data from a larger database. Then I copy the info I get into a simplified spreadsheet and run a macro that hides some of the columns that are unnecessary to my reporting. When I start to do my work on this spreadsheet, everything on the sheet ( the .xls file that is attached) is the same except the 2 columns (Downpayment and Installments) are in normal black. When I check on these items in another program, I determine which of the Downpayments and Installments that the person listed used and I select that option and then make the 2 options Bold black so I know that was their choice. And this tells me that this line is done and I can go to the next line in this report until this report is finished.

  5. #5
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Creating a numerical countdown

    Hello timothystow,

    I just finished a project. Thanks for being patient. If I understand what you are doing, this worksheet is nothing more than a tracking sheet for the the finished reports. This worksheet is not linked directly to database program, correct? You will still have to manually update your worksheet. However, some of the formatting can be preformed automatically on the line you select. Would this an acceptable solution?

  6. #6
    Registered User
    Join Date
    02-19-2009
    Location
    Bentonville, AR
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Creating a numerical countdown

    Yes that is correct. It is not linked to anything else. As far as I can see, anything that would work would be helpful. And I can learn from the formula or VBA programming and go from there. I appreciate your help in this matter. Thanks...

  7. #7
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Creating a numerical countdown

    Hello timothystow,

    Your workbook now has the total number of reports, number of completed reports and the number of reports remaining displayed in row 1. A command button has been added to format the selected cell. The format will be applied only to one cell at a time. If the cell is inside the table and in either column "J" or "K", the cell's font will be made bold and the color set to yellow. Once both cells are formatted, the macro will insert the word "Done" in column "L". The formula in cell "E1" counts the number of times "Done" appears in this column. You can hide this column if wish to.

    Module1 Macro Code
    Please Login or Register  to view this content.
    Worksheet Formula Code
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    02-19-2009
    Location
    Bentonville, AR
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Creating a numerical countdown

    Leith,

    Thank you so much for the help in this. I am actually going to study this and see what I can learn from this programming. Are there any websites that can teach more about formulas and VBA programming and macro programming? Again thank you for your help and for understanding of my issue.

  9. #9
    Registered User
    Join Date
    02-19-2009
    Location
    Bentonville, AR
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Creating a numerical countdown

    The example that you attached, I have downloaded onto my work computer. Now how can I use this macro and formula in other reports as well? Would I need to do some copy and paste of the programming? Thanks

  10. #10
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Creating a numerical countdown

    Hello timothystow,

    The macro is in a standard VBA to make it available to all other worksheets. The code is written to format whichever sheet is active when the macro runs. You can add additional command buttons to each worksheet using the Forms toolbar and then attach the macro the macro to the button by right clicking the button and choosing Assign Macro....

    Adding Buttons to the Worksheet
    1. Click View on the Excel Menu Bar or use ALT+V.
    2. Click Toolbars or type T to display the available toolbars.
    3. Click on Forms or use the Down Arrow to select this toolbar.
    4. Look for the rectangular icon. When you place the mouse on it you will see Button displayed.
    5. Click on this icon.
    6. Move the cursor to the cell where you want the button. Left Click and Hold the button down while you move the mouse. This will draw the button. Release the button when you are done.
    7. A dialog box will appear asking you to assign a macro. Close the dialog. The macro will be added later.
    8. Repeat steps from 4 on to add more buttons.

+ 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