Created attachment 190452 [details] file with macro Hi, I am getting an issue trying to run macros from the file attached. It seems this Macro is trying to execute a code that was not implemented in LO yet.
Have this macro worked with some old version of LibreOffice?
I do not know if this macro had worked in previous versions of LO.
Which version of LibreOffice are you using? Please test with a recent version and paste here the version information copied from Help > About LibreOffice. Thank you.
Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333 CPU threads: 24; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: pt-BR (pt_BR); UI: pt-BR Calc: threaded
[Automated Action] NeedInfo-To-Unconfirmed
I get: BASIC runtime error. '323' Module cannot be loaded; invalid format. ... on line 13: Set oshell = CreateObject("wscript.shell") And then another runtime error '1' ("the procedure doesn't exist") on line 257: Application.OnKey "{ESC}", "Form_Click" 'fecha form But I assume this is related to me running it on Linux instead of Windows. Same in 6.1.0.3 and 7.6.2.1. What errors do you see, at what lines?
I get the following (I am translating the error messages from Portuguese): - Error in executing BASIC on line '73' Not implemented - Error in executing BASIC '1' An exception happened. Type: con.sun.star.uno.RuntimeException Message: The procedure doesn't exist
Reproduced on Windows. The first error points to SendKeys. https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/sendkeys-statement Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: c0c8cffd3541e3cd616c96791b04e7ebf2b2ed03 CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded