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

ABCDEFGHIJKLMNOPRSTUVWY

N  
Name Name
NewToolbar CommandBars.Add
NextCell Selection.Move Unit:=wdCell, Count:=1

'或

Selection.Cells(1).Next.Select

NextField, NextField() Selection.GoToNext What:=wdGoToField

'或

Selection.NextField

NextMisspelling Selection.GoToNext What:=wdGoToSpellingError
NextObject Selection.GoToNext What:=wdGoToObject

'或

Selection.MoveRight Unit:=wdItem

NextPage, NextPage() Selection.GoToNext What:=wdGoToPage

'或

ActiveWindow.View.Type = wdPrintView

ActiveWindow.PageScroll Down:=1

NextTab() x = ActiveDocument.Paragraphs(1).TabStops(1).Next.Position
NextWindow ActiveWindow.Next.Activate
NormalFontPosition Selection.Font.Position = 0
NormalFontSpacing Selection.Font.Spacing = 0
NormalStyle Selection.Style = wdStyleNormal
NormalViewHeaderArea Type, FirstPage, OddAndEvenPages, HeaderDistance, FooterDistance With ActiveDocument.PageSetup

    .DifferentFirstPageHeaderFooter = True

    .OddAndEvenPagesHeaderFooter = True

    .HeaderDistance = num

    .FooterDistance = num

End With

ActiveWindow.View.SeekView = WdSeekView

NoteOptions FootnotesAt, FootNumberAs, FootStartingNum, FootRestartNum, EndnotesAt, EndNumberAs, EndStartingNum, EndRestartNum With ActiveDocument.Footnotes

    .Location = WdFootnoteLocation

    .NumberingRule = WdNumberingRule

    .NumberStyle = WdNoteNumberStyle

    .StartingNumber = num

End With

With ActiveDocument.Endnotes

    .Location = WdEndnoteLocation

    .NumberingRule = WdNumberingRule

    .NumberStyle = WdNoteNumberStyle

    .StartingNumber = num

End With

Now() Now

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号