CaptainCsaba
Board Regular
- Joined
- Dec 8, 2017
- Messages
- 78
Hi everyone! I am trying to finish up a macro by hiding columns we don't need in our work. After the macro runs, many columns are left that we don't use 99.9% of the time, so hiding it would be great. Problem is that they are not always in the same column and based on the base file the header could contain different words, number of spaces etc. So what i would need is a way to hide a column if it contains a specific word. So if the column is named "Asset amount" then if gets hidden if the macro sees the word "asset" for example. It's is important that the rule should only work for the header because some words could appear elsewhere. Thank you!