https://bugs.documentfoundation.org/show_bug.cgi?id=147457
Bug ID: 147457 Summary: Basic 'Me keyword' not implemented Product: LibreOffice Version: Inherited From OOo Hardware: All OS: All Status: UNCONFIRMED Severity: enhancement Priority: medium Component: BASIC Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: alain.romede...@libreoffice.org Description: When scripting ClassModule Basic modules, one cannot use 'Me.' prefix in order to refer to ClassModule object current instance. Steps to Reproduce: A 'Me' keyword macro example is available in the attached file. Actual Results: 'Me' is not supported as a keyword in Basic ClassModules. Expected Results: A background implicit assignment of 'Me' object instance variable should occur when instantiating 'New' objects with Basic. New operator: https://help.libreoffice.org/latest/en-US/text/sbasic/shared/new_keyword.html?DbPAR=BASIC#bm_id3149205 Let/Set statements: https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03103700.html?DbPAR=BASIC Reproducible: Always User Profile Reset: No Additional Info: This should be supported when using 'Option Compatible' or 'Option VBASupport 1' Basic compiler options. VBA 'Me' keyword: https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/me-keyword Note: It is possible to circumvent 'Me' lack of support, but this requires to hack around LibreOffice Basic. See the attached file for an example of such hack. -- You are receiving this mail because: You are the assignee for the bug.