Hi Nilem
Thanks. This works brilliantly. I have just one more favor to ask and I promise I will be really happy then.
Like I said in the beginning of my original post, I will be using dynamic ranges on my original workbooks.
So I have created these two dynamic ranges:
dropdown_input
dropdown_output
dropdown_input essentially covers range C2:C6 of sheet "column hide settings"
e.g. it picks up the following values from that range
All
Section 1
Section 2
Section 3
Section 4
Should user type in more options lets say "Section 5" and "Section 6" then the this named range dropdown_input would automatically expand and would cover C2:C8 (instead of C2:C6). I'm sure you are familiar with dynamic named range concept.
This named range is used in combobox's "input range" so the user can see all the available options when clicking on the dropdown box. So now the user would see options:
All
Section 1
Section 2
Section 3
Section 4
Section 5
Section 6
dropdown_output essentially covers range D2:D6 of sheet "column hide settings"
e.g. it picks up the following values from that range
H:M, Q:U, Y:Z, AD:AP
H:M
Q:U
Y:Z
AD:AP
AS:AV
Again user could create more and type in lets say "AS:AV" and "AX:AZ" then again just like with previous example this named range dropdown_output would automatically expand and would cover D2:D8 (instead of D2:D6).
So it would pick up values:
H:M, Q:U, Y:Z, AD:AP
H:M
Q:U
Y:Z
AD:AP
AS:AV
AS:AV
AX:AZ
Now here comes the tricky part that I can not figure it out myself. I would like to use this named range dropdown_output within the code.
I was thinking something along the lines of:
Or
I have attached new workbook with these two dynamic named ranges
Unfortunately I can not get it right. Could you or anyone else help me one more time? I would appreciate the help.
Cheers
Bookmarks