![]() I apply this macro also to Start application” + “New Document” + “Open Document”. ToolsOptionsAdvancedEnable macro recordingï¼Tickï¼, in the ToolsMacros, the Record Macro option will appear. (simply place a space in a blank cell, and the trick is done). For example: In the writer Do well of toolbar, can be copied to calc places to use. Then, each time you open an ods and make any little modification to the file, the “Design Mode” will be deactivated. Using the menu customize, assign this macro to the event “Modified Status was changed”. Rem -ĭocument = ĭispatcher = createUnoService(".DispatchHelper")ĭim args1(0) as new .PropertyValueĪrgs1(0).Name = "SwitchControlDesignMode"ĭispatcher.executeDispatch(document, ".uno:SwitchControlDesignMode", "", 0, args1())Ģnd Step: assigning the macro to a common event REM Should be connected to the "Start Application" event of LibreOffice. 1st step: place this in your macro "My Macros" Sub on_ApplicationStart( oEvent As Object )
0 Comments
Leave a Reply. |