Hello Excel Black-Belts!
I'm just gutted because I really thought I'd saved the info I need now, but I can't find it and I really need to get on with the project so I'm hoping that there's someone out there that can help.
I have a bunch of check boxes on a sheet, which are grouped under 4 headers (year, month, to and from). I want to be able to put a master check/uncheck all box at the top of each of a the 4 groups to save time if a user wants, say, all months in a given year; or conversely unelected an entire set. I would also like the code that greys a master box when the group isn't completely selected.
I can can rename the checkboxes with a group name as a prefix (ie Month1 or Year1, as an example) if that helps to define the code for the 4 macros that I'll need, and name the masters "yearall", or "monthall" or something like that.
I'm appealing to all VBA gurus out there to help me out with the simplest code for this, and I'll try not to lose it this time!
Thanks all, in anticipation.
Mouse
I'm just gutted because I really thought I'd saved the info I need now, but I can't find it and I really need to get on with the project so I'm hoping that there's someone out there that can help.
I have a bunch of check boxes on a sheet, which are grouped under 4 headers (year, month, to and from). I want to be able to put a master check/uncheck all box at the top of each of a the 4 groups to save time if a user wants, say, all months in a given year; or conversely unelected an entire set. I would also like the code that greys a master box when the group isn't completely selected.
I can can rename the checkboxes with a group name as a prefix (ie Month1 or Year1, as an example) if that helps to define the code for the 4 macros that I'll need, and name the masters "yearall", or "monthall" or something like that.
I'm appealing to all VBA gurus out there to help me out with the simplest code for this, and I'll try not to lose it this time!
Thanks all, in anticipation.
Mouse