Re: Application.OrganizerCopy: it is a bug
- From: "Karl Zuern" <Karl.Zuern@xxxxxxxx>
- Date: Thu, 3 May 2007 08:18:02 +0200
In the meantime I have got an official answer from MS-Support Germany.
It is a bug. But Microsoft does not offer a fix -:(
They suggested to copy the document to the temp-folder before using the OrganizerCopy command. I dont't think that this is a good solution.
Regards
Karl.
"Karl Zuern" <Karl.Zuern@xxxxxxxx> schrieb im Newsbeitrag news:190C44EB-68D7-49D6-8B11-B119D1A009B0@xxxxxxxxxxxxxxxx
Hi,
I would like to copy a format-template from a DOT-File into the ActiveDocument.
In Word 2003 the folling VBA-Code works fine:
-----------------------------------------------------------------------------------------------
Sub TestOrganizerCopy()
source1 = Options.DefaultFilePath(wdProgramPath) & "\StartUp\DATA5.dot"
destination1 = ActiveDocument.FullName
Application.OrganizerCopy Source:=source1, Destination:=destination1, Name:="AbsatzNummer", Object:=wdOrganizerObjectStyles
End Sub
-----------------------------------------------------------------------------------------------
In Word 2007 this code works also fine, but only if the ActiveDocument is stored on the local filesystem.
If the ActiveDocument is stored somewhere on a fileserver the code produces a error that tells you, that the active document is already open.
The system seems to block itself.
Does anybody know a solution, how to solve the problem?
Thanks for help.
Regards
Karl Zuern / DATA 5 GmbH
.
- Prev by Date: Re: GRAHAM MAYOR - Re: Macro in Normal.dot prevents Word opening
- Next by Date: Re: Doc descriptions that are visible in folder's "Details" view?
- Previous by thread: RE: Help creating Word Form
- Next by thread: Re: Doc descriptions that are visible in folder's "Details" view?
- Index(es):
Relevant Pages
|