Hallo Jörg,
Ich habe dein Programm entsprechend angepasst mit Passwort und Pfad
(Überprüft) und auch vorsichtshalber auch mal ein Dokument mit den u.a.
Bedingungen angelegt.
Es kommt Objektvariable nicht belegt. (OO 4.1.5 )
Ich bin ratlos. Ist was mit meiner Installation defekt?
Horst
Am 03.10.2018 um 14:22 schrieb Jörg Schmidt:
tc = ThisComponent
Dim myProp(0) as new com.sun.star.beans.PropertyValue
myProp(0).name="Password"
myProp(0).value = "meinPasswort"
oDocument = StarDesktop.loadComponentFromURL(converttourl("D:\meinTabellendokument.ods"),
"_blank", 0, myFileProp())
document = tc.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dispatcher.executeDispatch(document, ".uno:Print", "", 0, Array())
---------------------------------------------------------------------
To unsubscribe, e-mail: users-de-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-de-h...@openoffice.apache.org