_Application.OrganizerCopy Method
Copies the specified AutoText entry, toolbar, style, or macro project item from the source document or template to the destination document or template.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub OrganizerCopy ( _
Source As String, _
Destination As String, _
Name As String, _
Object As WdOrganizerObject _
)
'Usage
Dim instance As _Application
Dim Source As String
Dim Destination As String
Dim Name As String
Dim Object As WdOrganizerObject
instance.OrganizerCopy(Source, Destination, _
Name, Object)
void OrganizerCopy(
string Source,
string Destination,
string Name,
WdOrganizerObject Object
)
Parameters
- Source
Type: System.String
Required String. The document or template file name that contains the item you want to copy.
- Destination
Type: System.String
Required String. The document or template file name to which you want to copy an item.
- Name
Type: System.String
Required String. The name of the AutoText entry, toolbar, style, or macro you want to copy.
- Object
Type: Microsoft.Office.Interop.Word.WdOrganizerObject
Required WdOrganizerObject. The kind of item you want to copy.