+ Reply to Thread
Results 1 to 3 of 3

List of Check Boxes with MACROS

  1. #1
    Registered User
    Join Date
    01-07-2010
    Location
    Jeddah, KSA
    MS-Off Ver
    Excel 2007
    Posts
    16

    Smile List of Check Boxes with MACROS

    Hi Friends,

    I am working on an excel work book, which is consist of 10 data sheets and 10 graph sheets...! I have picked the two columns from each data sheet Column "WORK DONE" and Column "MONTHS" for each chart in chart sheet.

    I have another sheet called "HOME" on this sheet i have 10 Check box list and OK button.

    My Requirement:

    1. When I Check the Check box1 and click on OK button, Macro should take to Chart 1
    sheet.

    2. When I Check the Check box1 and 2 it should show the comparative chart of Data
    sheet1 and Data sheet2.

    3. When I Check the Check box3,5,9 & 10 it should show the comparative chart of Data
    sheet3,5,9 & 10. and so on in between all 10 check boxes..!

    Can somebody please help me:

    Your Help wil be more appriciable
    Abamasd.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: List of Check Boxes with MACROS

    Hi abamasd,

    welcome to the forum.

    Check boxes, by nature, allow more than one selection. A check box is not a good starting point to select an individual sheet to navigate to. Where should Excel take the user if they tick more than one box?

    Instead of check boxes, you can easily create hyperlinks to the data sheets. Then the user just needs to click the hyperlink.

    Chart sheets are not that easy to hyperlink to, but there is a workaround with VBA code. (ref. http://peltiertech.com/Excel/Hyperlinks.html)

    The code goes into the worksheet module and you need to adjust the code to include any more cells listing chart sheets.

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-07-2010
    Location
    Jeddah, KSA
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: List of Check Boxes with MACROS

    Hi Teylyn,

    First of All thanks for your reply:

    I have already done what u have sent in ur attachment, thts a simple part for me. the tricky part i wanted to know.

    Please refer my attached sheet with full of Macros & Hyperlinks. and kindly refer my comments and requiremnt on sheet Comparative Charts.

    Please hlep me!

    Thanks In Advance.
    Abamasd
    Last edited by abamasd; 03-28-2010 at 06:05 AM.

+ 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