Morning,
I am a novice to VBA, anything I have ever written is self-taught so be warned!
I have searched and tried numerous ways of writing VBA code to achieve this but to no avail.
I have an inherited 28 spreadsheets each with hundreds of sheet tabs some hidden and some not.
Every month I have to find any sheets containing part of the months name and unhide it.
So sheet name examples "RAMS rejected -MAY", "RAMS rejected - JUNE", "Open Permits - MAY", "Open Permits - JUN"
I want an input box to appear to ask them for first 3 letters of month name - i.e. "JUN"
and then using this input search all .xlhidden sheets (there are no 'veryhidden' ones) and make them xlvisible.
So in the above example it would unhide: "RAMS rejected - JUNE", "Open Permits - JUN"
and leave the other two hidden
I can't even start to give examples of the codes tried as I have tried so many that my brain is now mush !!
Thank you in advance.
Oh yes - I am using Excel 2013 in case this matters.
I am a novice to VBA, anything I have ever written is self-taught so be warned!
I have searched and tried numerous ways of writing VBA code to achieve this but to no avail.
I have an inherited 28 spreadsheets each with hundreds of sheet tabs some hidden and some not.
Every month I have to find any sheets containing part of the months name and unhide it.
So sheet name examples "RAMS rejected -MAY", "RAMS rejected - JUNE", "Open Permits - MAY", "Open Permits - JUN"
I want an input box to appear to ask them for first 3 letters of month name - i.e. "JUN"
and then using this input search all .xlhidden sheets (there are no 'veryhidden' ones) and make them xlvisible.
So in the above example it would unhide: "RAMS rejected - JUNE", "Open Permits - JUN"
and leave the other two hidden
I can't even start to give examples of the codes tried as I have tried so many that my brain is now mush !!
Thank you in advance.
Oh yes - I am using Excel 2013 in case this matters.