I am trying to get my macro to do this on open. Check if a1 is empty, if its empty run another macro (which is an input box to put something IN a1), but if A1 has something in it, DO NOTHING.
I keep getting errors, saying I'm not formulating my if statements correctly.
This is what I have:
I keep getting errors, saying I'm not formulating my if statements correctly.

This is what I have:
Code:
Private Sub Workbook_Open()
If Range("a1") = "" Then macrox
else do nothing
End If
End Sub