• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Choose multiple checkboxes

navic

Active Member
I'm trying to use the checkbox to select the multiple columns I want to hide but unsuccessful.
Can someone help. I add an example.
 

Attachments

  • multiplechkbox.xlsb
    22.3 KB · Views: 8
navic
My way sample ...
'Checkboxes' are 'range C1:AA1'.
1) 'click' cell A1 to see all columns
2) 'click' needed range C1:AA1 cells as needed; yellow cells will hide.
3) 'click' cell A1 to confirm above selection to show/hide columns as marked
Not fully tested
 

Attachments

  • multiplechkbox.xlsb
    19.9 KB · Views: 8
My way sample ...
Hi @veltm
Thank you for the solution offered. That's a great idea, however, this method does not suit me for certain reasons, and one of them is that in A1 will be a hyperlink.

I've solved using "ToggleButtons" but I do not want it as a solution.
I would like to make a solution using "CheckBox".
 

Attachments

  • multiplechkbox2.xlsb
    23.3 KB · Views: 4
navic
... this method does not suit me for certain reasons ...
because, Your sample files layout give this kind of possiblilty
You can any time change the 1st case's 1 to 2 ... then the control button would be 'B1'
... or almost any other column of from C-AA -columns ( 29 could be suitable value too ).

Your newer sample has objects, which I cannot use.
You also could add those checkboxes to sheet ... if would like to make is harder way.
Not for me ...
 
because, Your sample files layout give this kind of possiblilty
Hi @vletm
I have accepted different possibilities from my initial solution, but with Checkbox.

Thank you again. I understand what you want to say.
But I would like the way I imagined. I apologize if I said something wrong.
Your newer sample has objects, which I cannot use.
Now I use "ToogleButtons" but I want to avoid them. (see screenshot attached).
Best regards
 

Attachments

  • Untitled-2.png
    Untitled-2.png
    14 KB · Views: 7
navic
Of course, it's Your choice what would You like to use.
You didn't wrote 'something wrong'.
I saw those 'togglebuttons' and form
... there are some ActiveX-components ... not for me.
... and why to make ~24 even checkboxes, if same effect could do without those ... without any form?
 
@vletm, thanks for your help and advice.
Later I will decide how many checkboxes I will use, the project is still under development.

I'm still looking for a solution with CheckBox (file attached in 1st post).
 
navic
Hint: You gave image that You would like to control columns from C to AA.
Now You let know that wasn't so.
You should have a clear plan what do You would like to get.
> Your last minute note ... it can be or not to be
... I won't use checkboxes as You have some images. <
 
Ufff, I probably wrote a confusing text. I'm sorry, English is not my mother tongue.
I apologize for what I spent your free time.

I have an additional question for you.
... there are some ActiveX-components ... not for me.
I do not fully understand it and I can not translate this sentence "not for me".
I understand ActiveX control is potentially risky.
Can you clarify the meaning of the sentence?
Is this a phrase in English or what.

Does it mean:
1- I do not want to run this file?
2- Not interesting to me?
3- That's dangerous for me?
4- Can it contain a virus?
5- Can it contain malicious VBA code?
6- Could not run the file because of my Excel settings?
7- or something else

Best regards
 
navic
I'm using Excel-version which cannot use ActiveX-components.
As You have used some of those, I can open that file as ReadOnly ( I cannot save that file for further use).
If I cannot use, then those are not for me.
I'm using something different instead those,
now basic cells as ... checkboxes ... click it - its status will change as well as with checkbox.
Then no need 'extra' features. It maybe not look so good - but - functionality is same.
From You list ... #7 - or something else.
Danas je bio vjetrovit dan.
 
Back
Top