+ Reply to Thread
Results 1 to 2 of 2

where to find name of checkbox in order to refer to it in VBA code

  1. #1
    Registered User
    Join Date
    12-23-2021
    Location
    Boston, USA
    MS-Off Ver
    MS 365 version 16.63.1
    Posts
    47

    where to find name of checkbox in order to refer to it in VBA code

    Hi.
    I use excel for Mac. I have 3 checkboxes. I want to refer to the checkboxes in my VBA code, however I cannot find the name of the checkbox. What I tried so far, is select a checkbox, go to the Formula tab -> Name manager and I see what is shown in the provided screenshot. None of the names seems to work when I put it in the VBA code. Anyone knows where to find the name of the checkbox, and also how to change it?
    Thanks
    Sophia


    Screen Shot 2024-04-23 at 11.34.49 PM.png

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,288

    Re: where to find name of checkbox in order to refer to it in VBA code

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] VBA Code According to the two conditions to find out the order number is not repeated
    By Sakurayuki in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-27-2020, 10:12 AM
  2. Code to find out value in checkbox when workbook is minimazed
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-06-2020, 03:29 AM
  3. [SOLVED] Refer to forms control checkbox in VBA when it is part of a group
    By tmallin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2016, 10:36 AM
  4. Replies: 3
    Last Post: 02-12-2015, 11:42 AM
  5. Replies: 3
    Last Post: 04-16-2014, 10:00 AM
  6. [SOLVED] How to refer checkbox with user defined names
    By pankajy18 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-04-2013, 07:05 AM
  7. Refer checkbox by name in a loop
    By Xtender in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2006, 07:50 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