Visual Basic Equivalents O Through P
Visual Basic Equivalents O Through P
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
aa158433(v=office.10).mdaa158435(v=office.10).mdaa158437(v=office.10).mdaa158439(v=office.10).mdaa158441(v=office.10).mdaa158443(v=office.10).mdaa158446(v=office.10).mdaa158448(v=office.10).mdaa158450(v=office.10).mdaa158452(v=office.10).mdaa158452(v=office.10).mdaa158452(v=office.10).mdaa158454(v=office.10).mdaa158456(v=office.10).mdaa158460(v=office.10).mdaa158462(v=office.10).mdaa158464(v=office.10).mdaa158466(v=office.10).mdaa158466(v=office.10).mdaa158468(v=office.10).mdaa158468(v=office.10).md
O | |
---|---|
OK | WordBasic.OK |
OKButton | CommandButton control |
On Error | On Error |
OnTime | Application.OnTime |
Open | Open |
OpenSubdocument | ActiveDocument.Subdocuments(name).Open |
OpenUpPara | Selection.Paragraphs.OpenUp |
OptionButton | OptionButton control |
OptionGroup | Frame control |
Organizer | Application.OrganizerCopy
Application.OrganizerDelete Application.OrganizerRename |
OtherPane | ActiveWindow.ActivePane.Next.Activate |
Outline, Outline() | Selection.Font.Outline = True
x = Selection.Font.Outline |
OutlineCollapse | ActiveWindow.View.CollapseOutline |
OutlineDemote | Selection.Paragraphs.OutlineDemote |
OutlineExpand | ActiveWindow.View.ExpandOutline |
OutlineLevel() | aLevel = Selection.Paragraphs.OutlineLevel |
OutlineMoveDown | Selection.Range.Relocate Direction:=wdRelocateDown |
OutlineMoveUp | Selection.Range.Relocate Direction:=wdRelocateUp |
OutlinePromote | Selection.Paragraphs.OutlinePromote |
OutlineShowFirstLine, OutlineShowFirstLine() | ActiveWindow.View.ShowFirstLineOnly = True
x = ActiveWindow.View.ShowFirstLineOnly |
OutlineShowFormat | AcitveWindow.View.ShowFormat = True |
Overtype | Options.Overtype = True |
P | |
---|---|
PageDown, PageDown() | Selection.MoveDown Unit:=wdScreen, Count:=1, Extend:=wdMove |
PageUp, PageUp() | Selection.MoveUp Unit:=wdScreen, Count:=1, Extend:=wdMove |
ParaDown, ParaDown() | Selection.MoveDown Unit:=wdParagraph, Count:=1, Extend:=wdMove |
ParaKeepLinesTogether, ParaKeepLinesTogether() | ActiveDocument.Paragraphs(1).KeepTogether = True
x = ActiveDocument.Paragraphs(1).KeepTogether |
ParaKeepWithNext, ParaKeepWithNext() | ActiveDocument.Paragraphs(1).KeepWithNext = True
x = ActiveDocument.Paragraphs(1).KeepWithNext |
ParaPageBreakBefore, ParaPageBreakBefore() | ActiveDocument.Paragraphs(1).PageBreakBefore = True
x = ActiveDocument.Paragraphs(1).PageBreakBefore |
ParaUp, ParaUp() | Selection.MoveUp Unit:=wdParagraph, Count:=1, Extend:=wdMove |
ParaWidowOrphanControl, ParaWidowOrphanControl() | ActiveDocument.Paragraphs(1).WidowControl = True
x = ActiveDocument.Paragraphs(1).WidowControl |
PasteButtonImage | CommandBars(name).Controls(1).PasteFace |
PasteFormat | Selection.PasteFormat |
PathFromMacPath$() | x = WordBasic.[PathFromMacPath$](path) |
PathFromWinPath$() | x = WordBasic.[PathFromWinPath$](path) |
PauseRecorder | WordBasic.PauseRecorder |
Picture | Image control |
PrevCell, PrevCell() | Selection.Move Unit:=wdCell, Count:=-1
' or Selection.Cells(1).Previous.Select |
PrevField, PrevField() | Selection.GoToPrevious What:=wdGoToField
' or Selection.PreviousField |
PrevObject | Selection.GoToPrevious What:=wdGoToObject
' or Selection.MoveLeft Unit:=wdItem |
PrevPage, PrevPage() | Selection.GoToPrevious What:=wdGoToPage
' or ActiveWindow.View.Type = wdPrintView ActiveWindow.PageScroll Up:=1 |
PrevTab() | x = ActiveDocument.Paragraphs(1).TabStops(1).Previous.Position |
PrevWindow | ActiveWindow.Previous.Activate |
PromoteList | Selection.Range.ListFormat.ListIndent |
PushButton | CommandButton control |
PutFieldData | ActiveDocument.Fields(1).Data = text |