L
Liza
I have been experiencing problems with the style format
since I made the upgrade from Word 2002 to Word 2003. I am
using a macro which opens a template that has all my
formatting needs.
For any reason, I can not make my new documents to follow
that format style. I would like to make those documents I
already created to follow my styles. How can I tell that
to Word 2003?
This is the code in the macro:
Attribute VB_Name = "Module1112"
Sub Master_Style_Load_QTP_QTD_ATP()
'
' Macro2 Macro
' Macro recorded 09/06/01 by Dan Stankovic
'
' QTP/QTD styles 10-09-03
' Referecne: ["F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\
' This macro will load into any MS Word document the
following MASTER STYLES
' from QTP-QTDMasterStylesF.dot:
'
' TITLE QTP-D, Titlem1, Titlem2 - Company Name
' Prepared,
' TOCm, TOC1, TOC2, TOC3, TOC4, TOC5, TOC6, TOC7,
TOC8, TOC9
' Heading 1, Heading 2, Heading 3, Heading 4, Heading
5, Heading 6
' Heading 7, Heading 8, Heading 9, Heading 1 ATP,
Heading 2 ATP, Heading 3 ATP
' CNW_box, Note_txt
' Body, Body 6ba, Body 6b, Body 6a
' Normal numbered, Normal -, Normal numbered ATP
' Results Black, Results, Plots, Photos, Step, Note
' Body TT, Caption, Caption C, Caption L,, Caption L
ATP
' Table Title,
' Table Cell Left B, Table Cell Left 0, Table Cell
Center 0
' Table Cell Left, Table Cell Center, Table Cell Left
10, Table Cell Center 10
' Normal, Note sub, Note sub1, Note sub ATP
If ActiveDocument.Path = "" Then
dataName$ = ActiveDocument.Name
Else
dataName$ = ActiveDocument.Path + "\" +
ActiveDocument.Name
End If
'SourceStles$ = "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-QTDMasterStylesF"
SourceStles$ = "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-
QTDMasterStylesF.dot"
With ActiveDocument
.UpdateStylesOnOpen = True
'' .AttachedTemplate
= "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-
QTDMasterStylesF.dot"
.AttachedTemplate
= "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-
QTDMasterStylesF.dot"
End With
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note sub", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note sub1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note sub ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 1 ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 2 ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 3 ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TITLE QTP-D", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TITLEM", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TITLEM1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Titlem2 - Company Name", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Prepared", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Head1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 2", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 2 con't", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 3", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 4", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 5", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 6", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 7", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 8", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 9", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOCm", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 2", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 3", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 4", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 5", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 6", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 7", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 8", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 9", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="CNW_box", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="NOTE_txt", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body 6ab", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body 6b", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body 6a", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body Text Indent 2", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Plots", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Photos", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal numbered", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal numbered ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal -", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Results black", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Results", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Step", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body TT", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption C", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption L", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption L ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Title", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left B", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left 0", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center 0", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left 10", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center 10", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left 10-0", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center 10-0", _
Object:=wdOrganizerObjectStyles
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = ""
End With
End Sub
since I made the upgrade from Word 2002 to Word 2003. I am
using a macro which opens a template that has all my
formatting needs.
For any reason, I can not make my new documents to follow
that format style. I would like to make those documents I
already created to follow my styles. How can I tell that
to Word 2003?
This is the code in the macro:
Attribute VB_Name = "Module1112"
Sub Master_Style_Load_QTP_QTD_ATP()
'
' Macro2 Macro
' Macro recorded 09/06/01 by Dan Stankovic
'
' QTP/QTD styles 10-09-03
' Referecne: ["F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\
' This macro will load into any MS Word document the
following MASTER STYLES
' from QTP-QTDMasterStylesF.dot:
'
' TITLE QTP-D, Titlem1, Titlem2 - Company Name
' Prepared,
' TOCm, TOC1, TOC2, TOC3, TOC4, TOC5, TOC6, TOC7,
TOC8, TOC9
' Heading 1, Heading 2, Heading 3, Heading 4, Heading
5, Heading 6
' Heading 7, Heading 8, Heading 9, Heading 1 ATP,
Heading 2 ATP, Heading 3 ATP
' CNW_box, Note_txt
' Body, Body 6ba, Body 6b, Body 6a
' Normal numbered, Normal -, Normal numbered ATP
' Results Black, Results, Plots, Photos, Step, Note
' Body TT, Caption, Caption C, Caption L,, Caption L
ATP
' Table Title,
' Table Cell Left B, Table Cell Left 0, Table Cell
Center 0
' Table Cell Left, Table Cell Center, Table Cell Left
10, Table Cell Center 10
' Normal, Note sub, Note sub1, Note sub ATP
If ActiveDocument.Path = "" Then
dataName$ = ActiveDocument.Name
Else
dataName$ = ActiveDocument.Path + "\" +
ActiveDocument.Name
End If
'SourceStles$ = "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-QTDMasterStylesF"
SourceStles$ = "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-
QTDMasterStylesF.dot"
With ActiveDocument
.UpdateStylesOnOpen = True
'' .AttachedTemplate
= "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-
QTDMasterStylesF.dot"
.AttachedTemplate
= "F:\TSO\Archive\MASTER\Utility\Reports &
Documents\Reference\Style Templates\QTP-
QTDMasterStylesF.dot"
End With
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note sub", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note sub1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note sub ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 1 ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 2 ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 3 ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TITLE QTP-D", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TITLEM", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TITLEM1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Titlem2 - Company Name", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Prepared", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Head1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 2", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 2 con't", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 3", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 4", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 5", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 6", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 7", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 8", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Heading 9", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOCm", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 1", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 2", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 3", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 4", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 5", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 6", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 7", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 8", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="TOC 9", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="CNW_box", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="NOTE_txt", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body 6ab", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body 6b", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body 6a", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body Text Indent 2", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Plots", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Photos", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal numbered", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal numbered ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Normal -", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Results black", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Results", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Step", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Note", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Body TT", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption C", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption L", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Caption L ATP", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Title", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left B", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left 0", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center 0", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left 10", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center 10", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Left 10-0", _
Object:=wdOrganizerObjectStyles
Application.OrganizerCopy Source:= _
SourceStles$, Destination:= _
dataName$, Name:="Table Cell Center 10-0", _
Object:=wdOrganizerObjectStyles
With ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = ""
End With
End Sub