+ Reply to Thread
Results 1 to 18 of 18

?Tally chart using buttons???

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    ?Tally chart using buttons???

    Hi everyone,

    I am an excel newbie and struggling at the moment.

    Im trying to create a tally chart using buttons on sheet 1. Each user clicks the button and is automatically counted on sheet 2. There are at least 10 buttons. I've included a sample excel for what I want. I need to log this by date, looking at a 7 day spread. Also if possible each time a button is clicked it saves automatically. This will have multiply users on a shared drive. Could someone explain this in newbie lingo to me

    Any help would be greatly appreciated, thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    1 2 3 4
    5 9 10 11
    12 6 8 7

    This is the order of your buttons - it would be better if they were in numerical order - since this is just an example, will your real spreadsheet have the "buttons" in order??

    (Also, these are all standard controls - and, as such, are limited to just the click event).
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    Thanks xladept for the response.

    I only know how to draw shapes :o/

    They can be in numerical order, as long as i can re-name them in the future.

    Hope this helps

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    Hi smithymcsmithy,

    It doesn't matter since I'm keying on the "Caption" - see if this is what you want:McSmith.xls

  5. #5
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    This is spot on for what I want It worked perfectly till I messed about with it :o/ I tried to change the Violet tab to Animal. Is this possible so in the future I can change the names? Also I know Im pushing my luck but is there a way to make them look like buttons and signal when clicked? Thanks again for what you have already done

  6. #6
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    Ive added what I have done.
    Attached Files Attached Files

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    For some reason your "Animal" got placed as "Animal " - I fixed it with this:

    Please Login or Register  to view this content.
    McSmith.xls
    Last edited by xladept; 09-01-2012 at 03:15 PM.

  8. #8
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    You my friend, are a legend

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    Hi smithymcsmithy,

    I've been playing with some "button" effects - see if you like it:

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    Im not sure how to get this code into the sheet :o/

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    Hi smithymcsmithy,

    Just copy paste the code into the module over the old code - but I changed it again - try this: McSmith.xls

  12. #12
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    This is great, I must be doing something wrong though. Every time I change the name in button 1 to anything I get the debug, I change it on sheet 2 and the debug, however if I change it back to red it works.

    ---------- Post added at 01:17 PM ---------- Previous post was at 01:16 PM ----------

    Sorry to be a pain

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    Change it in the code like I did with "Button" #10:

    Please Login or Register  to view this content.

  14. #14
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    Have a look at this vid if you get a chance. Im still having trouble.

    http://www.youtube.com/watch?v=E9X7d...ature=youtu.be

  15. #15
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    Hi smithymcsmithy,

    Don't do it that way - after you've entered:

    Please Login or Register  to view this content.
    in the right place, just keep hitting "F8" (the function button F8 on your keyboard)

    this will single step through the program and, hopefully, highlight the problem code.

    I can't say why you're having trouble as it works clean on my system.

  16. #16
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    I just realized - "Aquamarine" has to be an entry in Column "A" - that's the way it's programmed! Want to reprogram it??

  17. #17
    Registered User
    Join Date
    08-23-2012
    Location
    Birmingham
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: ?Tally chart using buttons???

    No this is fine for what I want for some reason it wouldnt work on home computer however at work fine. Running 2010 at home and 2007 and work maybe thats the issue I dont know but thanks again for the help.

  18. #18
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ?Tally chart using buttons???

    Good and you're welcome!

+ 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