Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Create menu with Workbook_open : error


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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Custom Menu in Personal.xls Workbook_Open Orion Cochrane Excel Programming 5 November 18th 08 03:16 PM
Error in Workbook_Open matt Excel Programming 7 July 18th 08 02:16 PM
Range.Select error and screen maximizing error in Workbook_Open() Punsterr Excel Programming 3 May 10th 06 10:16 PM
Range.Select error and screen maximizing error in Workbook_Open() Punsterr Excel Programming 0 May 10th 06 07:56 PM
Workbook_Open() error Ruan[_3_] Excel Programming 2 September 13th 03 09:13 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"