+ Reply to Thread
Results 1 to 6 of 6

Returning the checked Range Reference from a UserForm

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit
    Posts
    3,676

    Returning the checked Range Reference from a UserForm

    I have a lot of macros in my Personal that are variations on a theme. They can alter something with a range. I have (but don't want) separate macros for the Activesheet, the selected range, the whole workbook, all workbooks, etc. I got the bright idea today to make a multipurpose Range Chooser form to determine which range to use, for the purpose of feeding that range to any of my macros that need it.

    With that said, I've gone as far as I can go on my own comfortably. I'm stuck at how to determine which of my checkboxes has been checked so I know which range to use to feed to my macros.

    Related to that, how do I limit my users to one and only one checkbox?

    Any help is appreciated, and if you have a better idea for how to do this, I'm wide open to suggestions.

    Thanks!
    Attached Files Attached Files
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,100

    Re: Returning the checked Range Reference from a UserForm

    Hello jomili,

    I have not looked at your sample Workbook yet, but you seem to be so clued up with what you are doing, that it makes me wonder, why don't you use Option Buttons instead of CheckBoxes?

    Regards
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,100

    Re: Returning the checked Range Reference from a UserForm

    Post somehow duplicated, and now deleted.
    Last edited by Winon; 03-08-2019 at 04:32 PM. Reason: Duplicate post

  4. #4
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit
    Posts
    3,676

    Re: Returning the checked Range Reference from a UserForm

    Probably because I forgot about Option Buttons. Pursuing that now. "Clued up"? Does that mean I seem to know what I'm doing? I NEVER want to give that impression

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit
    Posts
    3,676

    Re: Returning the checked Range Reference from a UserForm

    Well, option buttons were DEFINITELY the way to go. Thanks for the clue!

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,100

    Re: Returning the checked Range Reference from a UserForm

    You are welcome jomili,

    I am glad that you managed to Solve your own issue, and thank you for the Rep+. I appreciate it!

    Regards.

+ 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] UserForm if checkbox is checked then check the others and viceversa
    By bgabi89 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-08-2017, 05:36 PM
  2. Dynamic Named Range + Index/Match Returning Circular Reference
    By jennarenae in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-29-2014, 06:23 PM
  3. [SOLVED] Transfer Data from UserForm that their check box had checked!
    By MariaPap in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-06-2013, 01:08 PM
  4. [SOLVED] How to enable Userform with optionbutton checked?
    By meprad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2013, 07:06 AM
  5. Replies: 29
    Last Post: 02-26-2013, 02:13 PM
  6. [SOLVED] userform checked and unchecked instances
    By arleutwyler in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2013, 02:20 AM
  7. Reference if Checkbox is checked on Worksheet_Change
    By LampCommandr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2011, 10:48 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