Hi all
I would like to know if it is possible to implement a feature where by certain columns are hidden depending on what is selected from a drop-down list.
I'm presuming this may be achieved by the selected item affecting the custom views in some form? Also guessing it may take a Macro to get this going. I have installed and used macro's in the past but never written my own.....
any help appreciated!
You can use such code:
your drop list in A1 with valuesColumns(Cells(1, 1).Value).Hidden = True
and with this
you will unhide all columnsColumns.Hidden = False
Regards
tom1977
If You are satisfied with my solution click the small star icon on the left to say thanks.
cancelled post
Regards
tom1977
If You are satisfied with my solution click the small star icon on the left to say thanks.
great, thanks for the tip. So do I put this in a macro or in the form itself?
look at atachment
Regards
tom1977
If You are satisfied with my solution click the small star icon on the left to say thanks.
great. that should get me started I think. however, I think I may need to use it in conjunction with Data Filters than drop down lists. sorry, my fault for not being clear in my terminology usage
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks