Skip to content

Commit 5163a55

Browse files
authored
Merge pull request #1516 from MicrosoftDocs/main
[admin] merge to live
2 parents 99003b3 + 75081df commit 5163a55

File tree

1,013 files changed

+430
-3488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,013 files changed

+430
-3488
lines changed

.openpublishing.redirection.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@
123123
{
124124
"source_path": "access/Concepts/Criteria-Expressions/use-multiple-fields-in-criteria-expressions.md",
125125
"redirect_url": "/office/vba/access/concepts/criteria-expressions/multiple-fields-in-criteria-expressions"
126-
},
126+
},
127127
{
128128
"source_path": "access/Concepts/Criteria-Expressions/use-numeric-criteria-in-expressions.md",
129129
"redirect_url": "/office/vba/access/concepts/criteria-expressions/numeric-criteria-expressions"
130-
},
130+
},
131131
{
132132
"source_path": "access/Concepts/Criteria-Expressions/use-textual-criteria-expressions.md",
133133
"redirect_url": "/office/vba/access/concepts/criteria-expressions/textual-criteria-expressions"

Language/Concepts/Forms/assign-a-caption.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ To assign a caption to a **[CheckBox](../../reference/user-interface-help/checkb
2020

2121
3. Enter the text that you want to use as the caption.
2222

23-
<br/>
24-
2523
To assign a caption to a **[Page](../../reference/user-interface-help/page-object.md)** or **[Tab](../../reference/user-interface-help/tab-object.md)**:
2624

2725
1. Select the **[MultiPage](../../reference/user-interface-help/multipage-control.md)** or **[TabStrip](../../reference/user-interface-help/tabstrip-control.md)** that contains the **Page** or **Tab**.

Language/Concepts/Forms/creating-forms-and-dialog-boxes-with-right-to-left-extensions.md

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ Three Microsoft Forms 2.0 properties are generally used to add bidirectional cha
2222
|[TextAlign](../../reference/User-Interface-Help/textalign-property.md)|Controls|Controls|
2323
|[RightToLeft](../../reference/User-Interface-Help/righttoleft-property-microsoft-forms.md)|Forms|Forms and controls|
2424

25-
<br/>
26-
2725
These properties affect the controls listed in the following table, which are available in the Control Toolbox. You can set these properties in the Properties window in the editor or by using Visual Basic for Applications statements.
2826

2927
|Control|Alignment|TextAlign|RightToLeft|

Language/Concepts/Getting-Started/calling-procedures-with-the-same-name.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Sub Main()
2020
End Sub
2121
```
2222

23-
<br/>
24-
2523
If you give the same name to two different procedures in two different projects, you must specify a project name when you call that procedure. For example, the following procedure calls the `Main` procedure in the `MyModule` module in the `MyProject.vbp` project.
2624

2725
```vb

Language/Concepts/Getting-Started/compiler-constants.md

-6
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Visual Basic for Applications defines [constants](../../Glossary/vbe-glossary.md
2727
> #End If
2828
> ```
2929
30-
<br/>
31-
3230
On 16-bit development platforms, the compiler constants are defined as follows.
3331
3432
|Constant|Value|Indicates that the development environment... |
@@ -37,8 +35,6 @@ On 16-bit development platforms, the compiler constants are defined as follows.
3735
|**Win32**|**False**|Is not 32-bit compatible.|
3836
|**Win64**|**False**|Is not 64-bit compatible.|
3937
40-
<br/>
41-
4238
On 32-bit development platforms, the compiler constants are defined as follows.
4339
4440
|Constant|Value|Indicates that the development environment...|
@@ -54,8 +50,6 @@ On 32-bit development platforms, the compiler constants are defined as follows.
5450
|**Mac**|**False**|Is not Macintosh.|
5551
5652
57-
<br/>
58-
5953
On 64-bit development platforms, the compiler constants are defined as follows.
6054
6155
|Constant|Value|Indicates that the development environment...|

Language/Concepts/Getting-Started/creating-object-variables.md

-2
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ You can call the procedure and pass the current instance of the object as an arg
9595
ChangeObjectColor Me
9696
```
9797

98-
<br/>
99-
10098
## See also
10199

102100
- [Visual Basic conceptual topics](../../reference/user-interface-help/visual-basic-conceptual-topics.md)

Language/Concepts/Getting-Started/deftype-statements.md

-4
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ The _letter1_ and _letter2_ arguments specify the name range for which you can s
3939

4040
The statement name determines the data type.
4141

42-
<br/>
43-
4442
|Statement|Data type|
4543
|:-----|:-----|
4644
|**DefBool**|[Boolean](../../Glossary/vbe-glossary.md#boolean-data-type)|
@@ -58,8 +56,6 @@ The statement name determines the data type.
5856
|**DefObj**|[Object](../../Glossary/vbe-glossary.md#object)|
5957
|**DefVar**|[Variant](../../Glossary/vbe-glossary.md#variant-data-type)|
6058

61-
<br/>
62-
6359
For example, in the following program fragment, `Message` is a string variable.
6460

6561
```vb

Language/Concepts/Getting-Started/document-conventions-visual-basic-for-applications.md

-4
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,13 @@ Readout.Text = _
3737
End Sub
3838
```
3939

40-
<br/>
41-
4240
An apostrophe (') introduces code comments.
4341

4442
```vb
4543
' This is a comment; these two lines
4644
' are ignored when the program is running.
4745
```
4846

49-
<br/>
50-
5147
Lines too long to fit on one line (except comments) may be continued on the next line by using a line-continuation character, which is a single leading space followed by an underscore ( _):
5248

5349
```vb

Language/Concepts/Getting-Started/understanding-automation.md

-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Else
2626

2727
```
2828

29-
<br/>
30-
3129
Use the following functions to access an Automation object.
3230

3331
|Function|Description|

Language/Concepts/Getting-Started/understanding-named-arguments-and-optional-arguments.md

-10
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,20 @@ Sub PassArgs(strName As String, intAge As Integer, dteBirth As Date)
2222
End Sub
2323
```
2424

25-
<br/>
26-
2725
You can call this procedure by supplying its arguments in the correct position, each delimited by a comma, as shown in the following example.
2826

2927
```vb
3028
PassArgs "Mary", 29, #2-21-69#
3129

3230
```
3331

34-
<br/>
35-
3632
You can also call this procedure by supplying [named arguments](../../Glossary/vbe-glossary.md#named-argument), delimiting each with a comma.
3733

3834
```vb
3935
PassArgs intAge:=29, dteBirth:=#2/21/69#, strName:="Mary"
4036

4137
```
4238

43-
<br/>
44-
4539
A named argument consists of an argument name followed by a colon and an equal sign (**:=**), followed by the argument value.
4640

4741
Named arguments are especially useful when you are calling a procedure that has optional arguments. If you use named arguments, you don't have to include commas to denote missing positional arguments. Using named arguments makes it easier to keep track of which arguments you passed and which you omitted.
@@ -54,8 +48,6 @@ Sub OptionalArgs(strState As String, Optional strCountry As String = "USA")
5448
End Sub
5549
```
5650

57-
<br/>
58-
5951
When you call a procedure with an optional argument, you can choose whether or not to specify the optional argument. If you don't specify the optional argument, the default value, if any, is used. If no default value is specified, the argument would be for any variable of the specified type.
6052

6153
The following procedure includes two optional arguments, the `varRegion` and `varCountry` variables. The **[IsMissing](../../reference/user-interface-help/ismissing-function.md)** function determines whether an optional Variant argument has been passed to the procedure.
@@ -75,8 +67,6 @@ Optional varCountry As Variant = "USA")
7567
End Sub
7668
```
7769

78-
<br/>
79-
8070
You can call this procedure by using named arguments as shown in the following example.
8171

8272
```vb

Language/Concepts/Getting-Started/understanding-objects-properties-methods-and-events.md

-4
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ Sub CloseFirst()
2626
End Sub
2727
```
2828

29-
<br/>
30-
3129
The following procedure uses a name specified as a string to identify a **Form** object.
3230

3331
```vb
@@ -36,8 +34,6 @@ Sub CloseForm()
3634
End Sub
3735
```
3836

39-
<br/>
40-
4137
You can also manipulate an entire collection of objects if the objects share common [methods](../../Glossary/vbe-glossary.md#method). For example, the following procedure closes all open forms.
4238

4339
```vb

Language/Concepts/Getting-Started/understanding-parameter-arrays.md

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ Sub AnyNumberArgs(strName As String, ParamArray intScores() As Variant)
3030
End Sub
3131
```
3232

33-
<br/>
34-
3533
The following examples show how you can call this procedure.
3634

3735
```vb

Language/Reference/User-Interface-Help/add-method-dictionary.md

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ Adds a key and item pair to a **[Dictionary](dictionary-object.md)** object.
1818

1919
_object_.**Add** _key_, _item_
2020

21-
<br/>
22-
2321
The **Add** method has the following parts:
2422

2523
|Part|Description|

Language/Reference/User-Interface-Help/add-method-microsoft-forms.md

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ For MultiPage, TabStrip:<br/>
2222
For other controls:<br/>
2323
**Set**_Control_ = _object_. **Add(**_ProgID_ [, _Name_ [, _Visible_ ]] **)**
2424

25-
<br/>
26-
2725
The **Add** method syntax has these parts:
2826

2927
|Part|Description|

Language/Reference/User-Interface-Help/add-method-vba-add-in-object-model.md

-4
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@ Adds an object to a [collection](../visual-basic-add-in-model/collections-visual
1818

1919
_object_.**Add** (_component_)
2020

21-
<br/>
22-
2321
The **Add** syntax has these parts:
2422

2523
|Part|Description|
2624
|:-----|:-----|
2725
| _object_|Required. An [object expression](../../Glossary/vbe-glossary.md#object-expression) that evaluates to an object in the **Applies To** list.|
2826
| _component_|Required. For the **LinkedWindows** collection, an object. For the **VBComponents** collection, an enumerated [constant](../../Glossary/vbe-glossary.md#constant) representing a [class module](../../Glossary/vbe-glossary.md#class-module), a form, or a [standard module](../../Glossary/vbe-glossary.md#standard-module). For the **VBProjects** collection, an enumerated constant representing a project type.|
2927

30-
<br/>
31-
3228
Use one of the following constants for the _component_ argument:
3329

3430
|Constant|Description|

Language/Reference/User-Interface-Help/addcustom-method.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Returns a **[VBComponent](vbcomponent-object-vba-add-in-object-model.md)** objec
2020

2121
_object_.**AddCustom** (**ByVal**_progid_**As String**) **As VBComponent**
2222

23-
<br/>
24-
2523
The **AddCustom** method syntax has these parts:
2624

2725
|Part|Description|

Language/Reference/User-Interface-Help/addfolders-method.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Adds a new **[Folder](folder-object.md)** to a **[Folders](folders-collection.md
2020

2121
_object_.**Add** _folderName_
2222

23-
<br/>
24-
2523
The **Add** method has the following parts:
2624

2725
|Part|Description|

Language/Reference/User-Interface-Help/addfromfile-method-vba-add-in-object-model.md

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ For the **References** collection, adds a reference to a [project](../../Glossar
1818

1919
_object_.**AddFromFile** (_filename_)
2020

21-
<br/>
22-
2321
The **AddFromFile** syntax has these parts:
2422

2523
|Part|Description|

Language/Reference/User-Interface-Help/addfromguid-method-vba-add-in-object-model.md

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ Adds a reference to the **References** collection by using the globally unique i
1818

1919
_object_.**AddFromGuid** (_guid_, _major_, _minor_) **As Reference**
2020

21-
<br/>
22-
2321
The **AddFromGuid** syntax has these parts:
2422

2523
|Part|Description|

Language/Reference/User-Interface-Help/and-operator.md

-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ If both expressions evaluate to **True**, _result_ is **True**. If either expres
4242
|**Null**|**False**|**False**|
4343
|**Null**|**Null**|**Null**|
4444

45-
<br/>
46-
4745
The **And** operator also performs a [bitwise comparison](../../Glossary/vbe-glossary.md#bitwise-comparison) of identically positioned bits in two [numeric expressions](../../Glossary/vbe-glossary.md#numeric-expression) and sets the corresponding bit in _result_ according to the following table:
4846

4947
|If bit in _expression1_ is|And bit in _expression2_ is|The _result_ is|

Language/Reference/User-Interface-Help/appactivate-statement.md

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ Activates an application window.
1818

1919
**AppActivate** _title_, [ _wait_ ]
2020

21-
<br/>
22-
2321
The **AppActivate** statement syntax has these [named arguments](../../Glossary/vbe-glossary.md#named-argument):
2422

2523
|Part|Description|

Language/Reference/User-Interface-Help/arrays-keyword-summary.md

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ ms.localizationpriority: medium
1212

1313
# Arrays keyword summary
1414

15-
<br/>
16-
1715
|Action|Keywords|
1816
|:-----|:-----|
1917
|Verify an array.|[IsArray](isarray-function.md)|

Language/Reference/User-Interface-Help/assert-method.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Conditionally suspends execution when _booleanexpression_ returns **False** at t
2020

2121
_object_.**Assert** _booleanexpression_
2222

23-
<br/>
24-
2523
The **Assert** method syntax has the following object qualifier and argument:
2624

2725
|Part|Description|

Language/Reference/User-Interface-Help/attributes-property.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Sets or returns the attributes of files or folders. Read/write or read-only, dep
2020

2121
_object_.**Attributes** [= _newattributes_ ]
2222

23-
<br/>
24-
2523
The **Attributes** property has these parts:
2624

2725
|Part|Description|

Language/Reference/User-Interface-Help/autosize-multiline-wordwrap-scrollbars-properties-textbox-control-example.md

-6
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ Private Sub ToggleButton1_Click()
6464
End Sub
6565
```
6666

67-
<br/>
68-
6967
```vb
7068
Private Sub ToggleButton2_Click()
7169
'Set WordWrap property and associated ToggleButton
@@ -80,8 +78,6 @@ Private Sub ToggleButton2_Click()
8078
End Sub
8179
```
8280

83-
<br/>
84-
8581
```vb
8682
Private Sub ToggleButton3_Click()
8783
'Set ScrollBars property and associated ToggleButton
@@ -96,8 +92,6 @@ Private Sub ToggleButton3_Click()
9692
End Sub
9793
```
9894

99-
<br/>
100-
10195
```vb
10296
Private Sub ToggleButton4_Click()
10397
'Set MultiLine property and associated ToggleButton

Language/Reference/User-Interface-Help/backcolor-backstyle-bordercolor-borderstyle-forecolor-specialeffect-properties-e.md

-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ End If
106106
End Sub
107107
```
108108

109-
<br/>
110-
111109

112110
```vb
113111
Private Sub ToggleButton2_Click()

Language/Reference/User-Interface-Help/beforedragover-event.md

-4
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ The settings for _DragState_ are:
8282
| _fmDragStateLeave_|1|Mouse pointer is outside the range of a target.|
8383
| _fmDragStateOver_|2|Mouse pointer is at a new position, but remains within range of the same target.|
8484

85-
<br/>
86-
8785
The settings for _Effect_ are:
8886

8987
|Constant|Value|Description|
@@ -93,8 +91,6 @@ The settings for _Effect_ are:
9391
| _fmDropEffectMove_|2|Moves the drop source to the drop target.|
9492
| _fmDropEffectCopyOrMove_|3|Copies or moves the drop source to the drop target.|
9593

96-
<br/>
97-
9894
The settings for _Shift_ are:
9995

10096
|Constant|Value|Description|

Language/Reference/User-Interface-Help/beforedroporpaste-event.md

-4
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ The settings for _Action_ are:
8181
| _fmActionPaste_|2|Pastes the selected object into the drop target.|
8282
| _fmActionDragDrop_|3|Indicates the user has dragged the object from its source to the drop target and dropped it on the drop target.|
8383

84-
<br/>
85-
8684
The settings for _Effect_ are:
8785

8886
|Constant|Value|Description|
@@ -92,8 +90,6 @@ The settings for _Effect_ are:
9290
| _fmDropEffectMove_|2|Moves the drop source to the drop target.|
9391
| _fmDropEffectCopyOrMove_|3|Copies or moves the drop source to the drop target.|
9492

95-
<br/>
96-
9793
The settings for _Shift_ are:
9894

9995
|Constant|Value|Description|

Language/Reference/User-Interface-Help/buildpath-method.md

-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ Combines a folder path and the name of a folder or file and returns the combinat
2020

2121
_object_.**BuildPath** (_path_, _name_)
2222

23-
<br/>
24-
2523
The **BuildPath** method syntax has these parts:
2624

2725
|Part|Description|

0 commit comments

Comments
 (0)