Version OOo 2.3
I have this very simple code:
Code: Select all
Sub HelloWorld
Print "Hello, world."
End Sub
Sub HelloAgain
Dim s As String
rem cursor is positioned here
s = HelloWorldString()
MsgBox s
End Sub
Function HelloWorldString() As String
HelloWorldString = "Hello, again, World"
End Function
I want to be able to execute a macro of my choosing from the IDE.
In Excel, using VBA, the macro to execute depends on where the cursor is in the listing.
This shouldn't be so hard!
Keith