Howdy,
When I first start the macro I'm working on it causes an error. After acknowledging the error the macro starts without an error. Attached is a zip file containing the macro and a bmp of the error.
Do I have something set wrong?
Any suggestions would be appreciated.
[Solved] Start Macro Error
[Solved] Start Macro Error
- Attachments
-
- OpenError.zip
- (37.3 KiB) Downloaded 278 times
Last edited by Tobin on Sat Feb 14, 2009 10:06 pm, edited 1 time in total.
Tobin Sparks
OOo 3.0, XP
Houston, Texas USA
OOo 3.0.X on Ms Windows XP
OOo 3.0, XP
Houston, Texas USA
OOo 3.0.X on Ms Windows XP
Re: Start Macro Error
I think you just need to add
DialogLibraries.LoadLibrary( "Standard" )
before your createUnoDialog statement.
DialogLibraries.LoadLibrary( "Standard" )
before your createUnoDialog statement.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
[Solved] Re: Start Macro Error
Fantastic!
I don't remember seeing that line in all the examples and research I've looked thru. That really makes sense though.
Thanks FJCC
I don't remember seeing that line in all the examples and research I've looked thru. That really makes sense though.
Thanks FJCC
Tobin Sparks
OOo 3.0, XP
Houston, Texas USA
OOo 3.0.X on Ms Windows XP
OOo 3.0, XP
Houston, Texas USA
OOo 3.0.X on Ms Windows XP