D
David
Hi,
I am receiving a problem with the following code on MUI enabled Offie XP
installations. The code is failing on "Table Grid" as the program has
translated this to the german equivalent ("Tabellengitternetz"). Is there a
numeric or constant equivalent for this and how do I find it if there is one?
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
1, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
With Selection.Tables(1)
If .Style <> "Table Grid" Then
.Style = "Table Grid"
End If
.ApplyStyleHeadingRows = True
.ApplyStyleLastRow = True
.ApplyStyleFirstColumn = True
.ApplyStyleLastColumn = True
End With
Thanks in advance
I am receiving a problem with the following code on MUI enabled Offie XP
installations. The code is failing on "Table Grid" as the program has
translated this to the german equivalent ("Tabellengitternetz"). Is there a
numeric or constant equivalent for this and how do I find it if there is one?
ActiveDocument.Tables.Add Range:=Selection.Range, NumRows:=1,
NumColumns:= _
1, DefaultTableBehavior:=wdWord9TableBehavior,
AutoFitBehavior:= _
wdAutoFitFixed
With Selection.Tables(1)
If .Style <> "Table Grid" Then
.Style = "Table Grid"
End If
.ApplyStyleHeadingRows = True
.ApplyStyleLastRow = True
.ApplyStyleFirstColumn = True
.ApplyStyleLastColumn = True
End With
Thanks in advance