+ Reply to Thread
Results 1 to 4 of 4

ToggleButton1,2,3,4,5,6

  1. #1
    Registered User
    Join Date
    09-21-2019
    Location
    Scotland
    MS-Off Ver
    windows 10
    Posts
    15

    ToggleButton1,2,3,4,5,6

    Trying to read out togglebutton caption to a cell in a spreadsheet. I can do this a line at a time but I would like to
    do it within a for next loop. Something like below ? Togglebuton1_Y.Caption , Togglebutton2_Y.Caption .... become Togglebuttoni_Y.Caption

    Please Login or Register  to view this content.
    Thank you.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,295

    Re: ToggleButton1,2,3,4,5,6

    big yellow banner - upload a workbook.
    where are your toggle-buttons ?

  3. #3
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    365 32bit Win
    Posts
    1,811

    Re: ToggleButton1,2,3,4,5,6

    If the togglebuttons are on a worksheet then


    Please Login or Register  to view this content.

    If on a userform then

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-21-2019
    Location
    Scotland
    MS-Off Ver
    windows 10
    Posts
    15

    Re: ToggleButton1,2,3,4,5,6

    Yes these work ByteMarks.
    Thank you.

+ 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. How to Hide/Unhide PivotTable4 with ToggleButton1?
    By nbhiddemen in forum Excel General
    Replies: 1
    Last Post: 12-11-2013, 01:13 AM
  2. How to Hide/Unhide PivotTable4 with ToggleButton1?
    By nbhiddemen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2013, 12:39 PM
  3. Selecting Range left of Togglebutton1
    By Arrahed in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-01-2012, 09:05 AM

Tags for this Thread

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