Visual Basic Equivalents B
B | |
---|---|
Beep | Beep |
Begin Dialog...End Dialog | Create and display a custom form. For information about adding controls to a form, see Adding controls to a user form. |
Bold, Bold() | Selection.Font.Bold
= True
x = Selection.Font.Bold |
name = BookmarkName$(num) | name = ActiveDocument.Bookmarks(num).Name |
BorderBottom, BorderBottom() | With ActiveDocument.Paragraphs(1).Borders(wdBorderBottom)
.LineStyle = wdLineStyleSingle .LineWidth = wdLineWidth075pt End With x = ActiveDocument.Paragraphs(1).Borders(wdBorderBottom).LineStyle |
BorderInside, BorderInside() | With Selection.Borders
.InsideLineStyle = wdLineStyleSingle .InsideLineWidth = wdLineWidth075pt End With x = Selection.Borders.InsideLineStyle |
BorderLeft, BorderLeft() | With ActiveDocument.Paragraphs(1).Borders(wdBorderLeft)
.LineStyle = wdLineStyleSingle .LineWidth = wdLineWidth075pt End With x = ActiveDocument.Paragraphs(1).Borders(wdBorderLeft).LineStyle |
BorderLineStyle, BorderLineStyle() | Selection.Borders(wdBorderType).LineStyle
= wdLineStyle
x = ActiveDocument.Paragraphs(1).Borders(wdBorderType).LineStyle |
BorderNone, BorderNone() | Selection.Borders.Enable
= False
' or Selection.Borders(wdBorderLeft).LineStyle = wdLineStyleNone x = Selection.Range.Borders.Enable |
BorderOutside, BorderOutside() | With Selection.Borders
.OutsideLineStyle = wdLineStyleSingle .OutsideLineWidth = wdLineWidth075pt End With x = Selection.Borders.OutsideLineStyle |
BorderRight, BorderRight() | With ActiveDocument.Paragraphs(1).Borders(wdBorderRight)
.LineStyle = wdLineStyleSingle .LineWidth = wdLineWidth075pt End With x = ActiveDocument.Paragraphs(1).Borders(wdBorderRight).LineStyle |
BorderTop, BorderTop() | With Selection.Paragraphs(1).Borders(wdBorderTop)
.LineStyle = wdLineStyleSingle .LineWidth = wdLineWidth075pt End With x = ActiveDocument.Paragraphs(1).Borders(wdBorderTop).LineStyle |