+ Reply to Thread
Results 1 to 5 of 5

Transfer checkbox caption to different worksheet

  1. #1
    Registered User
    Join Date
    05-03-2014
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    7

    Transfer checkbox caption to different worksheet

    I have 71 checkboxes that I want to transfer the Checkbox Caption if true. If the checkbox is false I want to transfer a value of "0". The captions are being transferred to a different worksheet. Below are a few entries if I was to enter them all separately, but I assume there is a way to do all at once? Help please!

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Transfer checkbox caption to different worksheet

    Hello janicesm,

    I am assuming the CheckBoxes were created sequentially i.e. CheckBox1, CheckBox2, CheckBox3 to CheckBox71.

    Will the cells also be sequential from A3, A4, A5 to A73?

    Are these Forms or ActiveX CheckBoxes?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-03-2014
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Transfer checkbox caption to different worksheet

    Hi.

    The checkboxes are a little bit out of order (and a couple missing) - however if it is imperative that they are all sequential I could go back and fix that.
    Yes, the cells are sequential.
    These are ActiveX Checkboxes residing directly on a worksheet.

    Thanks.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Transfer checkbox caption to different worksheet

    Hello janicesm,

    Since you are using ActiveX controls, they can be easily Subclassed. Subclassing allows each control of the same type to share a common set of properties, methods, and events.

    Because this technique is a bit advanced, it would be best if post your workbook. I can then add the needed macros for you and test it.

  5. #5
    Registered User
    Join Date
    05-03-2014
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: Transfer checkbox caption to different worksheet

    ExcelForum.xlsm

    Not sure if I attached this right, but here it goes! I have included the two relevant pages.

+ 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. Change Checkbox Caption on Userform with Name in Variable
    By XLVBA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-11-2013, 04:43 PM
  2. [SOLVED] Export caption of selected checkbox to msgbox
    By SoulPrisoner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2013, 11:57 AM
  3. Using CheckBox.Caption to determine the workseet name
    By nicer2011 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-21-2011, 08:04 AM
  4. Checkbox: Dynamic Caption Format
    By aeshower in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2006, 09:44 AM
  5. [SOLVED] Adding CheckBox Caption to a Listbox
    By Peterd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2005, 08: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