+ Reply to Thread
Results 1 to 7 of 7

Scrollbar Name

Hybrid View

  1. #1
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,907

    Re: Scrollbar Name

    In the file I attached, in Class CChk, the Sub MyChk_Click will handle the Click event from any checkbox. It then calls a Sub SingleCheck in whatever module owns the checkbox and passes in the checkbox name. If you take the file I attached and change all occurrences of CheckBox to ScrollBar it may work, I haven't tried it to confirm.

    Note that Sub UserForm1.UserForm_Initialize sets up the collection of checkboxes to begin with, necessary for this scheme to work. It's easy in a userform because you can use the Initialize method. If your controls are in a worksheet, we would have to move this to the ThisWorkbook.Workbook_Open sub.

    If you need additional help, attach your file.

  2. #2
    Registered User
    Join Date
    10-08-2012
    Location
    Cedar Falls, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    50
    Quote Originally Posted by 6StringJazzer View Post
    In the file I attached, in Class CChk, the Sub MyChk_Click will handle the Click event from any checkbox. It then calls a Sub SingleCheck in whatever module owns the checkbox and passes in the checkbox name. If you take the file I attached and change all occurrences of CheckBox to ScrollBar it may work, I haven't tried it to confirm.

    Note that Sub UserForm1.UserForm_Initialize sets up the collection of checkboxes to begin with, necessary for this scheme to work. It's easy in a userform because you can use the Initialize method. If your controls are in a worksheet, we would have to move this to the ThisWorkbook.Workbook_Open sub.

    If you need additional help, attach your file.
    Great! I will give that a try aveand get back to you...thanks so much for the help

+ 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. Scrollbar help!
    By xia0lis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-29-2013, 12:05 PM
  2. Change ScrollBar Max value when a second ScrollBar vale is changed?
    By Jon Henry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-11-2013, 06:47 PM
  3. ScrollBar
    By Kenji in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2010, 02:42 PM
  4. Scrollbar
    By Iegion in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2009, 03:47 AM
  5. Scrollbar
    By Scottmk in forum Excel General
    Replies: 1
    Last Post: 03-15-2007, 09:53 PM
  6. [SOLVED] When a scrollbar is not a scrollbar
    By Flash in the Pan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2006, 10:40 PM
  7. [SOLVED] Scrollbar
    By dstiefe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-12-2005, 04:05 PM
  8. [SOLVED] scrollbar reslut makes another scrollbar to show
    By Patrik in forum Excel General
    Replies: 0
    Last Post: 04-18-2005, 11:06 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