Guzzlr
Well-known Member
- Joined
- Apr 20, 2009
- Messages
- 982
- Office Version
- 2021
- Platform
- Windows
Hello All
I'm trying to not run the sub, if Range A9 in the Template worksheet is blank (no data exist). If A9 has nothing in it, the Template work sheet simply remains the same. If A9 does have data in it, then the rest of the program runs.
Thanks for the help
excel 2013
Code:
Sheets("Template").Select
Range("A9").Select
If Selection <> contents Then
Exit Sub
End If
I'm trying to not run the sub, if Range A9 in the Template worksheet is blank (no data exist). If A9 has nothing in it, the Template work sheet simply remains the same. If A9 does have data in it, then the rest of the program runs.
Thanks for the help
excel 2013