Hi,
Firstly, if Mr Excel himself reads this, then I'd like to say I really enjoy the Guerilla Data Analysis book!
Secondly, and on-topic, I wish to use a Combo Box to select columns to hide or show.
For instance, in columns C-F I have Period1, G-J, Period2, K-N, Period3, and so-on.
I wish to be able to select a period from the Combo Box, and then hide or show the columns as needed depending on the value.
I'm very new to VBA (but not totally new to VB), but could someone explain to me how to go about doing this?
I'm using Excel 2003, where I see there are two Combo Box's under the Forms and the Control Toolbox toolbars.
Firstly, if Mr Excel himself reads this, then I'd like to say I really enjoy the Guerilla Data Analysis book!
Secondly, and on-topic, I wish to use a Combo Box to select columns to hide or show.
For instance, in columns C-F I have Period1, G-J, Period2, K-N, Period3, and so-on.
I wish to be able to select a period from the Combo Box, and then hide or show the columns as needed depending on the value.
I'm very new to VBA (but not totally new to VB), but could someone explain to me how to go about doing this?
I'm using Excel 2003, where I see there are two Combo Box's under the Forms and the Control Toolbox toolbars.