Dave Punky
Board Regular
- Joined
- Jan 7, 2010
- Messages
- 133
Hi all,
I've created a Form / dialogue box (called Error) in VBA and I want this to display if a cell on my workbook is empty via a macro. I also need it to run another macro if these circumstances are not met.
Essentially what I have is:
If Range("A1").Value = 0 Then
Show Form (Error)
Else
Run Macro1
End If
I'm not sure exactly how I'm supposed to word this as all my attempts have failed. Can anybody provide any assistance in regards to this.
I'm running Excel 2003 for reference and literally my dialogue box has nothing to it.
I've created a Form / dialogue box (called Error) in VBA and I want this to display if a cell on my workbook is empty via a macro. I also need it to run another macro if these circumstances are not met.
Essentially what I have is:
If Range("A1").Value = 0 Then
Show Form (Error)
Else
Run Macro1
End If
I'm not sure exactly how I'm supposed to word this as all my attempts have failed. Can anybody provide any assistance in regards to this.
I'm running Excel 2003 for reference and literally my dialogue box has nothing to it.