2. Juli 2008 11:10
WdApp.Selection.PasteAndFormat(Default);
WdPasteOptions EnumerationWord Developer Reference
Indicates how to paste copied text.
Version Information
Version Added:
Name Value Description
wdKeepSourceFormatting 0 Keeps formatting from the source document.
wdKeepTextOnly 2 Keeps text only, without formatting.
wdMatchDestinationFormatting 1 Matches formatting to the destination document.
wdUseDestinationStyles 3 Matches formatting to the destination document using styles for formatting
3. Juli 2008 16:27
3. Juli 2008 22:32
4. Juli 2008 08:17
With ActiveDocument.Styles("Standard").Font
.Name = "Arial"
.Size = 10
.Bold = False
.Italic = False
.Underline = wdUnderlineNone
.UnderlineColor = wdColorAutomatic
.StrikeThrough = False
.DoubleStrikeThrough = False
.Outline = False
.Emboss = False
.Shadow = False
.Hidden = False
.SmallCaps = False
.AllCaps = False
.Color = wdColorAutomatic
.Engrave = False
.Superscript = False
.Subscript = False
.Scaling = 100
.Kerning = 0
.Animation = wdAnimationNone
End With
With ActiveDocument.Styles("Standard")
.AutomaticallyUpdate = False
.BaseStyle = ""
.NextParagraphStyle = "Standard"
End With
End Sub