Question : Programming actions for combo boxes in Microsoft Excel 2007

I need to add a combo box to a Microsoft Excel 2007 spreadsheet.
The options available will be YES and NO.
If YES, I will have to hide 5 rows in the spreadsheet.
If NO, I will have to unhide the same rows.

How to do it?

Answer : Programming actions for combo boxes in Microsoft Excel 2007

Programmatic access, in outlook:

2003:
Application | tools | macros | Macro Security | trusted sources | Trust Access to the VBA Object Model ... Ensure ticked
2007:
Application | Office Button | App Options | Trust Centre | Trust Centre Settings | MAcro Settings | Trust Access to the VBA Object Model ... Ensure ticked
Random Solutions  
 
programming4us programming4us