Word VBA教程:Visual Basic 命令对照表 E

ABCDEFGHIJKLMNOPRSTUVWY

E  
EditAutoText .Name= name, .Add

EditAutoText .Name= name, .InsertAs = 0, .Insert

EditAutoText .Name= name, .Delete

ActiveDocument.AttachedTemplate.AutoTextEntries.Add

ActiveDocument.AttachedTemplate.AutoTextEntries(name).Insert Where:=range, RichText:=True

Templates(name).AutoTextEntries(name).Delete

EditBookmark .Name = name, .Add

EditBookmark .Name = name, .Delete

EditBookmark .Name = name, .Goto

EditBookmark .Name = name, .SortBy

ActiveDocument.Bookmarks.Add Name:=name, Range:=range

ActiveDocument.Bookmarks(name).Delete

ActiveDocument.Bookmarks(name).Select

ActiveDocument.Bookmarks.DefaultSorting = wdSortByName

EditButtonImage WordBasic.EditButtonImage
EditClear Selection.Range.Delete
EditConvertAllEndnotes ActiveDocument.Endnotes.Convert
EditConvertAllFootnotes ActiveDocument.Footnotes.Convert
EditConvertNotes Selection.Footnotes.Convert

'或

Selection.Endnotes.Convert

EditCopy Selection.Range.Copy
EditCopyAsPicture Selection.Range.CopyAsPicture
EditCreatePublisher Selection.Range.CreatePublisher
EditCut Selection.Range.Cut
EditFind Selection.Find
EditFindBorder Selection.Find.Borders
EditFindClearFormatting Selection.Find.ClearFormatting
EditFindFont Selection.Find.Font
EditFindFound() Selection.Find.Found
EditFindFrame Selection.Find.Frame
EditFindHighlight Selection.Find.Highlight = True
EditFindLang Selection.Find.LanguageID
EditFindNotHighlight Selection.Find.Highlight = False
EditFindPara Selection.Find.ParagraphFormat
EditFindStyle Selection.Find.Style
EditFindTabs Seleciton.Find.ParagraphFormat.TabStops
EditGoTo Selection.Goto
EditLinks UpdateMode, Locked, SavePictureInDoc, UpdateNow, OpenSource, KillLink, Link, Application, Item, FileName ActiveDocument.Shapes(1).OLEFormat.Open

'或

ActiveDocument.InlineShapes(1).OLEFormat.Open

With ActiveDocument.InlineShapes(1).LinkFormat

    .AutoUpdate = True

    .Locked = True

    .SavePictureWithDocument = True

    .Update

    .BreakLink

    .Application.Name

    .SourceFullName

End With

EditObject Selection.InlineShapes(1).OLEFormat.Edit

'或

Selection.ShapeRange(1).OLEFormat.Edit

EditPaste Selection.Range.Paste
EditPasteSpecial Selection.Range.PasteSpecial
EditPicture Selection.ShapeRange(1).Activate
EditPublishOptions ActiveDocument.EditionOptions
EditRedo ActiveDocument.Redo
EditRepeat Repeat
EditReplaceBorder Selection.Find.Replacement.Borders
EditReplaceClearFormatting Selection.Find.Replacement.ClearFormatting
EditReplaceFont Selection.Find.Replacement.Font
EditReplaceFrame Selection.Find.Replacement.Frame
EditReplaceHighlight Selection.Find.Replacement.Highlight = True
EditReplaceLang Selection.Find.Replacement.LanguageID
EditReplaceNotHighlight Selection.Find.Replacement.Highlight = False
EditReplacePara Selection.Find.Replacement.ParagraphFormat
EditReplaceStyle Selection.Find.Replacement.Style
EditReplaceTabs Selection.Find.Replacement.ParagraphFormat.TabStops
EditSelectAll ActiveDocument.Content.Select

'或

Selection.WholeStory

EditSubscribeOptions ActiveDocument.EditionOptions
EditSubscribeTo Selection.Range.SubscribeTo
EditSwapAllNotes ActiveDocument.Endnotes.SwapWithFootnotes

'或

ActiveDocument.Footnotes.SwapWithEndnotes

EditTOACategory ActiveDocument.TablesOfAuthoritiesCategories(num).Name = name
EditUndo ActiveDocument.Undo
EmptyBookmark(name) x = ActiveDocument.Bookmarks(name).Empty
EnableFormField ActiveDocument.FormFields(name).Enabled = True
EndOfColumn, EndOfColumn() Selection.EndOf Unit:=wdColumn, Extend:=wdMove
EndOfDocument, EndOfDocument() Selection.EndKey Unit:=wdStory
EndOfLine, EndOfLine() Selection.EndKey Unit:=wdLine, Extend:=wdMove
EndOfRow, EndOfRow() Selection.EndKey Unit:=wdRow, Extend:=wdMove
EndOfWindow, EndOfWindow() Selection.MoveDown Unit:=wdWindow
Environ$() Environ$()
Eof() EOF()
Err Err
Error Error
ExistingBookmark(name) x = ActiveDocument.Bookmarks.Exists(name)
ExitWindows Tasks.ExitWindows
ExtendMode() x= Selection.ExtendMode
ExtendSelection '激活扩展模式

Selection.ExtendMode = True

'扩展所选内容

Selection.Expand Unit:=wdUnits

Word VBA教程

Word VBA参考教程:目录1 Word VBA参考教程:目录2
Word VBA参考教程:目录3 Word VBA参考教程:目录4
Word VBA参考教程:目录5 Word VBA参考教程:目录6
Word VBA参考教程:目录7 Word VBA参考教程:目录8
Word VBA参考教程:目录9 Word VBA参考教程:目录10
版权所有 © 中山市飞娥软件工作室 证书:粤ICP备09170368号