ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Bug Report: VBA runtime Access Violation (https://www.excelbanter.com/excel-programming/442660-bug-report-vba-runtime-access-violation.html)

Alex K.

Bug Report: VBA runtime Access Violation
 
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/comm...el.programming

Peter T

Bug Report: VBA runtime Access Violation
 
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 wrote in message
...
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/comm...el.programming





All times are GMT +1. The time now is 05:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com