Question : how to scan for text in a row and then hide that column

hi, I hope you can help.  I have a spreadsheet, and in Row 18, certain cells have text, 'DT'.
Now, I want  the user to press a button and invoke a macro so that anytime there is a DT, that column is hidden.  Conversely, they would press another button to invoke a macro to unhide all columns.

Can you help?  I attached a portion of the spreadsheet.
Thx, Mark
Attachments:
 
sample spreadsheets. Macro to hide certain columns
 

Answer : how to scan for text in a row and then hide that column

This should take care of it.....
Random Solutions  
 
programming4us programming4us