Hi all,
I'm having all kinds of fun creating a worksheet which collects a bunch of data (sort of like a survey) from the user, and then rates the inputs based on pre-determined variables.
I'm trying to make the form user friendly by hiding "questions" until they are relevant, either because it is applicable, or because it has been made applicable due to a previous input. So far I have had some success with hiding rows and form controls (checkboxes and comboboxes), but the nature of the sheet means that some times the layout I create is messed up when the controls are hidden and I exit Excel.
Taking a different tact, I thought that instead of hiding the rows / form controls, what if I greyed/disabled/locked them out until they became applicable. This way, the layout doesn't change through row height being adjusted and therefore the integrity of the worksheet should remain once I save and exit.
My question is therefore, how do I disable a combobox / checkbox and fade it to the background such as would be commonly seen on other applications / websites, using VBA? I would like an input via a combobox or checkbox (extra to those that have been disabled) to make this happen.
EDIT: I should say that the project is quite large, and I have been using Form Controls over ActiveX Controls because I'm a noob. I gather that this means the ComboBox1.Disable = true is not an option. Hopefully this doesnt preclude my efforts, as I'd prefer to move to ActiveX next project :D
Thanks for your help,
Bookmarks