Share via


Visual Basic Equivalents J Through L

Visual Basic Equivalents J Through L
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).mdaa158454(v=office.10).mdaa158456(v=office.10).mdaa158458(v=office.10).mdaa158458(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

J  
JustifyPara, JustifyPara() Selection.Paragraphs.Alignment = wdAlignParagraphJustify
K  
KeyCode() x = KeyBindings(1).KeyCode
KeyMacro$() x = KeyBindings(1).Command
Kill filename Kill filename
L  
Language, Language$() Selection.LanguageID
LCase$() LCase()

' or

LCase$()

Left$() Left$()

' or

Left()

LeftPara, LeftPara() Selection.Paragraphs.Alignment = wdAlignParagraphLeft
Len() Len()
Let Let
Line Input Line Input
LineDown, LineDown() Selection.MoveDown Unit:=wdLine, Count:=1, Extend:=wdMove
LineUp, LineUp() Selection.MoveUp Unit:= wdLine, Count:=1, Extend:=wdMove
ListBox ListBox Control
ListCommands Application.ListCommands
LockDocument, LockDocument() ActiveDocument.Subdocuments(1).Locked = True

state = ActiveDocument.Subdocuments(1).Locked

LockFields ' You can lock a single field or a group of fields within a range.

Selection.Fields.Locked = True

ActiveDocument.Fields(1).Locked =True

Lof() LOF()
LTrim$() LTrim()