Thanks, Guys, for all the help and great suggestions. Much
appreciated (especially now that I've got it working).
:-)
Tam
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Am Montag, den 26.12.2005, 19:20 -0600 schrieb Tam:
Marc Santhoff wrote:
Am Dienstag, den 27.12.2005, 00:21 +0100 schrieb Mathias Bauer:
Could some kind soul please tell me what's wrong?
The message says it all: the URL is unsupported, mainly because it
isn't
a URL at all. Don't use
Tam [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]:
I thought this would be simple -- it isn't. I just want to have a
macro create a new document from a template (not the default template).
You want this --
Function NewFromTemplate(templateURL)
' acb June 2002
' pass this function the
Mathias Bauer wrote:
Tam wrote:
sub Letterhead
dim mProps(0) as new com.sun.star.beans.PropertyValue
mProps(0).Name = AsTemplate
mProps(0).Value = true
oDesk = createUNOService(com.sun.star.frame.Desktop)
oDesk.loadComponentFromUrl(D:\OOo_Templates\Letterhead.odt,_blank,
0,