I've been looking through a bunch of searches and other things an can't seem to find anything to help get rid of this error message. I started using VBA for the first time two days ago and have been having a blast, but this one baffles me.
VBA Compile error:
Variable not defined
My code is:
Option Explicit
Private Sub Worksheet_Activate()
programEntry.Show
End Sub
"Private Sub Worksheet_Activate()" is highlighted in yellow.
Error occurs after switching to a different sheet in the workbook and then back again.
Thanks for your help. Let me know if you have any other questions.
VBA Compile error:
Variable not defined
My code is:
Option Explicit
Private Sub Worksheet_Activate()
programEntry.Show
End Sub
"Private Sub Worksheet_Activate()" is highlighted in yellow.
Error occurs after switching to a different sheet in the workbook and then back again.
Thanks for your help. Let me know if you have any other questions.