DarReNz
11-17-2005, 09:07 PM
Hi,
I have 2 buttons one on each sheet and link them, however when i click the button i get the error msg "Only comments may appear after End Sub, End Function, End Property.
Sub ButtonEmp()
Sheets("Emp").Select
End Sub
This always appear everytime i try to run the macro
------------------------------------------------------------------
ActiveWorkbook.Save
Application.Run "filename.xls'!MainMenuEmp"
When i try to delete them and run the macro again the same thing happens. Please help
I have 2 buttons one on each sheet and link them, however when i click the button i get the error msg "Only comments may appear after End Sub, End Function, End Property.
Sub ButtonEmp()
Sheets("Emp").Select
End Sub
This always appear everytime i try to run the macro
------------------------------------------------------------------
ActiveWorkbook.Save
Application.Run "filename.xls'!MainMenuEmp"
When i try to delete them and run the macro again the same thing happens. Please help