From: Alex K. Alex on
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/community/en-us/default.mspx?mid=49c44a72-0b63-4dc0-9f78-0f9f0d6dce2d&dg=microsoft.public.excel.programming
From: Peter T on
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

"Alex K." <Alex K.(a)discussions.microsoft.com> wrote in message
news:49C44A72-0B63-4DC0-9F78-0F9F0D6DCE2D(a)microsoft.com...
> 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/community/en-us/default.mspx?mid=49c44a72-0b63-4dc0-9f78-0f9f0d6dce2d&dg=microsoft.public.excel.programming