ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,235
- Office Version
- 2007
- Platform
- Windows
Afternoon,
I have a command Button on my worksheet which opens a userform.
When i click the button i see the following Compile error,
Expected variable or procedure not module.
The code on the button is as follows.
Is this just not allowed or have i missed something.
Please advise thanks
I have a command Button on my worksheet which opens a userform.
When i click the button i see the following Compile error,
Expected variable or procedure not module.
The code on the button is as follows.
Rich (BB code):
Private Sub SearchFormButton_Click()
Call OpenATOZ
End Sub
Is this just not allowed or have i missed something.
Please advise thanks