Share via


Visual Basic Equivalents B

Visual Basic Equivalents B
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).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).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

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