Re: Document based on template doesn''t have correct page setup
- From: Russ <drsN0SPAMmikle@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Aug 2007 02:10:47 -0400
Could they copy the template locally into their own folder and use it?
Russ:
Yes, they can change the settings for the newly-created document, but we
would like to have the settings of the template applied automatically to save
time.
"Russ" wrote:
PC,
Does everyone involved have the same permissions to change printer settings
over the network?
We have a macro that creates a new document based on a template, using the
following code:
Set doc = Documents.Add(Template:="k:\templates\Preprintedletterhead.dot")
The template is set up so that the first page is selected from tray 3
(loaded with letterhead), and subsequent pages are selected from tray 2
(plain paper).
New documents created by "Authenticated Users" using this macro do not have
the correct page setup - they are set as "automatically select".
Authenticated users have the following permissions on the templates folder:
Read & Execute, List Folder Contents, Read, Write. (Permissions are set so
that users cannot over-write the templates.)
New documents created by the macro, by users with full permissions on the
folder, DO have the proper page setup.
I have added the following code to try to set the page after the document is
created but this does not have any effect:
With doc.PageSetup
.FirstPageTray = wdPrinterLargeCapacityBin
.OtherPagesTray = wdPrinterLowerBin
End With
Does anyone know how to work around this problem, which appears to be
related to permissions on the folder?
--
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
--
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID
.
- References:
- Prev by Date: Re: help me check correct reference in Tools-References
- Next by Date: Re: Searching for 4 digits numbers, but only those starting at the beginning of a paragraph
- Previous by thread: Re: Document based on template doesn''t have correct page setup
- Next by thread: Searching for 4 digits numbers, but only those starting at the beginning of a paragraph
- Index(es):
Relevant Pages
|