+ Reply to Thread
Results 1 to 5 of 5

Togglebutton

  1. #1
    Registered User
    Join Date
    11-08-2007
    MS-Off Ver
    2021 Prof
    Posts
    84

    Togglebutton

    I seem to have a problem with togglebuttons...

    I have togglebutton on sheet 1 that changes the cell text on sheet 2

    Please Login or Register  to view this content.
    When I start the workbook, I need to toggle the button before it actually starts to work correctly ... sometimes it starts with a single toggle which now means the on/off result is the opposite to what I want.

    How would I fix this other than a entry in Open_workbook... as there are over 150 toggle buttons in the sheet ?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Togglebutton

    Put
    Please Login or Register  to view this content.
    in your Workbook Open event handler.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-08-2007
    MS-Off Ver
    2021 Prof
    Posts
    84

    Re: Togglebutton

    Hi TMS ... tried that and it appears that I have set state and text for each toggle ... was hoping for a easier way as that's a total of over 150 entries.

    A

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Togglebutton

    Sorry, missed that. Please post a sample workbook.

    Regards, TMS

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Togglebutton

    If the problem is simply one of the number of toggle buttons then you can loop.

    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

+ 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 togglebutton
    By faizalismail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2014, 09:51 PM
  2. ToggleButton to filter by 2 criterias
    By gyzer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-29-2014, 02:32 AM
  3. Togglebutton
    By thesandman in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-12-2009, 06:31 PM
  4. Setting ToggleButton Value
    By fazstp in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-01-2006, 12:31 AM
  5. [SOLVED] need help with togglebutton
    By Gary Keramidas in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-09-2005, 12:05 PM

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