JessicaKinnear
New Member
- Joined
- Jan 6, 2021
- Messages
- 25
- Office Version
- 365
- Platform
- Windows
Hey, I'm looking for some help on a VBA code.
I basically have a sheet named 'INPUTS-BULDING DETAILS' then I have 12 sheets named 'Tenant - 1', 'Tenant - 2' etc. all the way up to 12 which I want to hide if a certain cell doesn't contain a value.
On my inputs tab I want to be able to code so that if cell F36 has no value then hide sheet 'Tenant -1', if cell F37 has no value then hide sheet 'Tenant - 2', then this to repeat all the way up to cell F47 and sheet 'tenant - 12'
Does anyone know the correct code for this (I am a complete beginner when it comes to coding so think code for dummies )
Thank you in advance!
I basically have a sheet named 'INPUTS-BULDING DETAILS' then I have 12 sheets named 'Tenant - 1', 'Tenant - 2' etc. all the way up to 12 which I want to hide if a certain cell doesn't contain a value.
On my inputs tab I want to be able to code so that if cell F36 has no value then hide sheet 'Tenant -1', if cell F37 has no value then hide sheet 'Tenant - 2', then this to repeat all the way up to cell F47 and sheet 'tenant - 12'
Does anyone know the correct code for this (I am a complete beginner when it comes to coding so think code for dummies )
Thank you in advance!