Bug Report: VBA runtime Access Violation

A

Alex K.

Thought I'd report the following bug, the following (silly) code:

enum x: Me=0 :end enum
sub foo: end sub

Will crash any office app when entered into the IDE.



----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...d6dce2d&dg=microsoft.public.excel.programming
 
P

Peter T

Hmm, don't do that !

Probably wrong to call it a bug though, it is documented the keyword Me can
only be used in Class modules. Also see 'Me' in help

Regards,
Peter T
 
Top