PC Review


Reply
Thread Tools Rate Thread

Create menu with Workbook_open : error

 
 
Herman
Guest
Posts: n/a
 
      13th Apr 2010

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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Custom Menu in Personal.xls Workbook_Open Orion Cochrane Microsoft Excel Programming 4 18th Nov 2008 03:16 PM
Error in Workbook_Open matt Microsoft Excel Programming 7 18th Jul 2008 02:16 PM
Range.Select error and screen maximizing error in Workbook_Open() Punsterr Microsoft Excel Programming 3 10th May 2006 10:16 PM
Range.Select error and screen maximizing error in Workbook_Open() Punsterr Microsoft Excel Programming 0 10th May 2006 07:56 PM
Workbook_Open() Error Minitman Microsoft Excel Programming 5 2nd Apr 2004 07:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 AM.