+ Reply to Thread
Results 1 to 5 of 5

Toggle Button

  1. #1
    Registered User
    Join Date
    05-17-2020
    Location
    USA
    MS-Off Ver
    16
    Posts
    15

    Toggle Button

    I am trying to create a toggle button that adds glow to a picture when clicked, and remove the glow when the toggle is clicked a second time. I know how to add glow to a picture, I know how to add a toggle button, and I know how to make the picture glow when the toggle button is clicked, but I cannot figure out how to get it to remove the glow when it is clicked again.

  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,446

    Re: Toggle Button

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file and a mocked up solution.
    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
    05-17-2020
    Location
    USA
    MS-Off Ver
    16
    Posts
    15

    Re: Toggle Button

    @TMS Your response was as unhelpful as a government employee telling a patron that they're in the wrong line, rather than assisting in any meaningful way. Fortunately, I figured out the solution myself. With 42,060 posts, I would have thought you a bit more skilled at this. Sad.

  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,446

    Re: Toggle Button

    I'm sorry you feel that way. I'm not sure I understand the analogy, but the reason for the request was to be able to help you effectively. You have a workbook, you have a toggle button, you have a picture, and you have some code that works. I would need to replicate that environment without knowing any of the specific details in order to provide the last bit of the puzzle. And then you would need to assess and adapt any code developed blind and apply it to your live workbook.

    Unfortunately, my skill set does not run to mind reading and crystal ball reading.

    Glad you have found a solution to your problem.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Toggle Button

    Quote Originally Posted by Kaseli View Post
    @TMS Your response was as unhelpful as a government employee telling a patron that they're in the wrong line, rather than assisting in any meaningful way. Fortunately, I figured out the solution myself. With 42,060 posts, I would have thought you a bit more skilled at this. Sad.
    I fail to see anything unhelpful about TMS's post - instead I see an ungrateful response to a request for more info to HELP you more accurately with your question.

    In fact, Trevor is 1 of the best helpers we have on this forum, and with over 42 000 posts - as you accurately point out - is extremely experienced in figuring out what members what, more often than not.

    Perhaps as a newcomer here, you have yet to realize that sample files often help us help you FAR more than descriptive text can?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. [SOLVED] Out Of Stack Space Error With Toggle Button Clicks - One Problem Button
    By Jenn68 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-11-2019, 10:05 AM
  2. [SOLVED] how do i make a toggle button change other toggle buttons value to false
    By kevinu in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-10-2018, 04:19 PM
  3. Combining separate button functions into one toggle button 2011 office for mac
    By voidcreativ in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-18-2015, 09:28 AM
  4. Toggle Button on Workbook Open - value is True but button not pressed?
    By excelnat in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-03-2014, 11:23 AM
  5. Toggle Button Does not Toggle OFF when Clicked
    By robbfamily in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2014, 05:12 PM
  6. Replies: 1
    Last Post: 02-13-2014, 10:55 PM
  7. Adding .xla button for Toggle Calculation Button
    By Mike in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-19-2005, 09:05 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