suptechguy
New Member
- Joined
- Jan 15, 2020
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
Hello,
I'm looking for a way to have a VBA macro to look at a range of cells, determine if the value 'x' appears in the row; if Yes then hide image, if no then show image.
So the macro will be on sheet ("Upload Data") - commandbutton1
If worksheets("Prepared File").range("9:9") contains an "x", then hide image ("Smile")
If there is no "x" in the range, then show image ("Smile")
Could someone please help me?
Thank you!
I'm looking for a way to have a VBA macro to look at a range of cells, determine if the value 'x' appears in the row; if Yes then hide image, if no then show image.
So the macro will be on sheet ("Upload Data") - commandbutton1
If worksheets("Prepared File").range("9:9") contains an "x", then hide image ("Smile")
If there is no "x" in the range, then show image ("Smile")
Could someone please help me?
Thank you!