New to macros and followed the instructions on Getting Started Guide 7.0 to the dot creating a little macro:
REM ***** BASIC *****
Sub HelloMacro
Print "Hello"
End Sub
Sub Main
End Sub
The strange thing is when I go to Tools - Macros - Organise Macros - Basic, select “HelloMacro” and then Run it executes, a little box shows with Hello.
However when I go to Tools - Macros - Run Macro, select “HelloMacro” and then Run, nothing happens.
The same when I assign the macro to a PushButton in writer it does not execute.
When I start a new, fresh writer document and do the same the box “Hello” shows.
Where am I getting wrong?