Create menu with Workbook_open : error

H

Herman

I keep getting an error message "only remarks after end sub, end
function or end property" when opening an Excel 2007 file with this
event code

Private Sub Workbook_Open()
Call CreateMenu
End Sub

There is abslolutely nothing after "end sub" and the create menu works
fine on its own!
Do you have any idea what is wrong here?
Thanks
Herman
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top