+ Reply to Thread
Results 1 to 5 of 5

Excel VBA Code to make my Toggle Buttons output "Yes" or "No" to their cells

  1. #1
    Registered User
    Join Date
    07-29-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Excel VBA Code to make my Toggle Buttons output "Yes" or "No" to their cells

    I need help getting the following code to work:

    Please Login or Register  to view this content.
    Right now I can get what I want by doing this:

    Please Login or Register  to view this content.
    But there are over 100 toggle buttons on my UserForm and I don't want to have to do that for every one. All my Toggle Buttons start with "tgo".

    Thanks in advance

  2. #2
    Registered User
    Join Date
    07-29-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Excel VBA Code to make my Toggle Buttons output "Yes" or "No" to their cells

    oh and:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Excel VBA Code to make my Toggle Buttons output "Yes" or "No" to their cells

    If the number after 'tgo' is the column number perhaps this.
    Please Login or Register  to view this content.
    Last edited by Norie; 08-06-2013 at 04:13 AM.
    If posting code please use code tags, see here.

  4. #4
    Registered User
    Join Date
    07-29-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Excel VBA Code to make my Toggle Buttons output "Yes" or "No" to their cells

    that didn't work, the number after tgo is the column number though... 'tgoCX10" will write to the current row column 10

  5. #5
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644
    If it's not tgo followed by the column number what is it?

+ 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] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. Request - "write vba code on buttons to make attached user form complete"
    By virgome in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-19-2013, 02:12 PM
  3. [SOLVED] If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM
  4. Replies: 6
    Last Post: 01-08-2006, 06:20 PM
  5. Replies: 3
    Last Post: 10-25-2005, 07:05 PM

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