Mit folgendem Makrocode wird ein vorhandenes Dokument geöffnet:

SUB openMyDokument 
url = ConvertToURL("u:\test\Dokument.doc")
oNeuDok = StarDesktop.loadComponentFromURL(url,"_blank", 0, Array())
End SUB

Das Ziel anpassen und einer Schaltfläche zuweisen.

HTH
Winfried


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Antwort per Email an