Visual Basic Equivalents W Through Y
W | |
---|---|
WaitCursor | System.Cursor = WdCursorType |
Weekday(date) | Weekday(date) |
While...Wend | While...Wend |
num = Window() | num = ActiveWindow.Index |
WindowArrangeAll | Windows.Arrange ArrangeStyle:=wdTiled |
WindowList num | Window(num).Activate |
WindowName$() | aCap = ActiveWindow.Caption |
WindowNewWindow | Windows.Add
' or ActiveWindow.NewWindow |
Window num | Window(num).Activate |
WindowPane() | Use the Split
property to determine if a Window is split.
Use StoryType property with the Selection object to determine the pane/story of the selection. |
WinToDOS$() | x = WordBasic.[WinToDOS$](StringToTranslate) |
WordLeft count
WordLeft count, select |
Selection.MoveLeft
Unit:=wdWord, Count:=1, Extend:=wdMove
Selection.MoveStart Unit:=wdWord, Count:=-1 ' or Selection.MoveLeft Unit:=WdWord, Count:=1, Extend:=wdExtend |
WordRight 1
WordRight 1, 1 |
Selection.MoveRight
Unit:=wdWord, Count:=1, Extend:=wdMove
Selection.MoveEnd Unit:=wdWord, Count:=1 ' or Selection.MoveRight Unit:=WdWord, Count:=1, Extend:=wdExtend |
WordUnderline, WordUnderline() | Selection.Range.Underline
= wdUnderlineWords
status = Selection.Range.Underline |
Write | Write |
Y | |
---|---|
Year | Year() |