Skip to content

Commit e3b2e22

Browse files
author
Linda Caputo
committed
ampersand fix
1 parent 49c1a92 commit e3b2e22

File tree

367 files changed

+1577
-1598
lines changed

Some content is hidden

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

367 files changed

+1577
-1598
lines changed

Language/Concepts/Getting-Started/visual-basic-naming-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Use the following rules when you name [procedures](../../Glossary/vbe-glossary.m
1717

1818
- You must use a letter as the first character.
1919

20-
- You can't use a space, period (**.**), exclamation mark (**!**), or the characters **@**, **&;**, **$**, **#** in the name.
20+
- You can't use a space, period (**.**), exclamation mark (**!**), or the characters **@**, **&**, **$**, **#** in the name.
2121

2222
- Name can't exceed 255 characters in length.
2323

Language/Glossary/vbe-glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ A programming error that can cause code to produce incorrect results or stop exe
451451

452452
## Long data type
453453

454-
A 4-byte integer ranging in value from -2,147,483,648 to 2,147,483,647. The ampersand (**&;**) type-declaration character represents a **Long** in Visual Basic.
454+
A 4-byte integer ranging in value from -2,147,483,648 to 2,147,483,647. The ampersand (**&**) type-declaration character represents a **Long** in Visual Basic.
455455

456456

457457
## margin indicator

Language/Reference/User-Interface-Help/character-set-0127.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.date: 08/24/2018
2020
|3||35|#|67|C|99|c|
2121
|4||36|$|68|D|100|d|
2222
|5||37|%|69|E|101|e|
23-
|6||38|&;|70|F|102|f|
23+
|6||38|&|70|F|102|f|
2424
|7||39|'|71|G|103|g|
2525
|8|* *|40|(|72|H|104|h|
2626
|9|* *|41|)|73|I|105|i|

Language/Reference/User-Interface-Help/closereturn-to-host-application-command-file-menu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Close &; Return to <host application> Command (File Menu)
2+
title: Close & return to <host application> command (File Menu)
33
keywords: vbui6.chm2057568
44
f1_keywords:
55
- vbui6.chm2057568
@@ -9,7 +9,7 @@ ms.date: 06/08/2017
99
---
1010

1111

12-
# Close &; Return to <host application> Command (File Menu)
12+
# Close & return to <host application> command (File Menu)
1313

1414
Closes the development environment and returns you to the host application. Visual Basic is hidden but remains in memory.
1515

Language/Reference/User-Interface-Help/commands-tab-customize-dialog-box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Allows you to change the selected command.
4343

4444
- Delete — Deletes the command.
4545

46-
- Name — Changes the name of the control to the name you type into the box. By using the ampersand (&;), you can also set shortcut keys.
46+
- Name — Changes the name of the control to the name you type into the box. By using the ampersand (&), you can also set shortcut keys.
4747

4848
- Copy Button Image — Copies the button image to the **Clipboard**.
4949

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
2-
title: Concatenation Operators
2+
title: Concatenation operators
33
ms.prod: office
44
ms.assetid: 00d31f2e-9609-90bc-a0e4-d221d642efbe
55
ms.date: 06/08/2017
66
---
77

88

9-
# Concatenation Operators
9+
# Concatenation operators
1010

11-
[&; Operator](operator.md)
12-
13-
[+ Operator](plus-operator.md)
11+
- [& operator](operator.md)
12+
- [+ operator](plus-operator.md)
1413

Language/Reference/User-Interface-Help/format-function-visual-basic-for-applications.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ You can use any of the following characters to create a format [expression](../.
196196
|**Character**|**Description**|
197197
|:-----|:-----|
198198
|**@**|Character placeholder. Display a character or a space. If the string has a character in the position where the at symbol (**@**) appears in the format string, display it; otherwise, display a space in that position. Placeholders are filled from right to left unless there is an exclamation point character (**!**) in the format string.|
199-
|**&;**|Character placeholder. Display a character or nothing. If the string has a character in the position where the ampersand (**&;**) appears, display it; otherwise, display nothing. Placeholders are filled from right to left unless there is an exclamation point character (**!**) in the format string.|
199+
|**&**|Character placeholder. Display a character or nothing. If the string has a character in the position where the ampersand (**&**) appears, display it; otherwise, display nothing. Placeholders are filled from right to left unless there is an exclamation point character (**!**) in the format string.|
200200
|**&lt;**|Force lowercase. Display all characters in lowercase format.|
201201
|**&gt;**|Force uppercase. Display all characters in uppercase format.|
202202
|**!**|Force left to right fill of placeholders. The default is to fill placeholders from right to left.|
@@ -256,7 +256,7 @@ The following table identifies characters you can use to create user-defined num
256256
|(**/**)|[Date separator](../../Glossary/vbe-glossary.md#date-separators). In some locales, other characters may be used to represent the date separator. The date separator separates the day, month, and year when date values are formatted. The actual character used as the date separator in formatted output is determined by your system settings.|
257257
|(**E- E+ e- e+**)|Scientific format. If the format expression contains at least one digit placeholder (**0** or **#**) to the right of E-, E+, e-, or e+, the number is displayed in scientific format and E or e is inserted between the number and its exponent. The number of digit placeholders to the right determines the number of digits in the exponent. Use E- or e- to place a minus sign next to negative exponents. Use E+ or e+ to place a minus sign next to negative exponents and a plus sign next to positive exponents.|
258258
|**- + $** ( )|Display a literal character. To display a character other than one of those listed, precede it with a backslash (`\`) or enclose it in double quotation marks (" ").|
259-
|(**\\**)|Display the next character in the format string. To display a character that has special meaning as a literal character, precede it with a backslash (`\`). The backslash itself isn't displayed. Using a backslash is the same as enclosing the next character in double quotation marks. To display a backslash, use two backslashes (`\\`). Examples of characters that can't be displayed as literal characters are the date-formatting and time-formatting characters (a, c, d, h, m, n, p, q, s, t, w, y, /, and :), the numeric-formatting characters (#, 0, %, E, e, comma, and period), and the string-formatting characters (@, &;, <, >, and !).|
259+
|(**\\**)|Display the next character in the format string. To display a character that has special meaning as a literal character, precede it with a backslash (`\`). The backslash itself isn't displayed. Using a backslash is the same as enclosing the next character in double quotation marks. To display a backslash, use two backslashes (`\\`). Examples of characters that can't be displayed as literal characters are the date-formatting and time-formatting characters (a, c, d, h, m, n, p, q, s, t, w, y, /, and :), the numeric-formatting characters (#, 0, %, E, e, comma, and period), and the string-formatting characters (@, &, <, >, and !).|
260260
|("ABC")|Display the string inside the double quotation marks (" "). To include a string in **_format_** from within code, you must use **Chr(34)** to enclose the text (34 is the [character code](../../Glossary/vbe-glossary.md#character-code) for a quotation mark (")).|
261261

262262

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ When a Visual Basic class implements an interface, the Visual Basic class provid
2525

2626
**Note** Visual Basic does not implement derived classes or interfaces.
2727

28-
When you implement an interface or class, you must include all the **Public** procedures involved. A missing member in an implementation of an interface or class causes an error. If you don't place code in one of the procedures in a class you are implementing, you can raise the appropriate error (**Const** E_NOTIMPL = &;H80004001) so a user of the implementation understands that a member is not implemented.
28+
When you implement an interface or class, you must include all the **Public** procedures involved. A missing member in an implementation of an interface or class causes an error. If you don't place code in one of the procedures in a class you are implementing, you can raise the appropriate error (**Const** E_NOTIMPL = &H80004001) so a user of the implementation understands that a member is not implemented.
2929
The **Implements** statement can't appear in a [standard module](../../Glossary/vbe-glossary.md#standard-module).
3030

3131
## Example

Language/Reference/User-Interface-Help/inputbox-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The **InputBox** function syntax has these [named arguments](../../Glossary/vbe-
2121

2222
|**Part**|**Description**|
2323
|:-----|:-----|
24-
|**_prompt_**|Required. [String expression](../../Glossary/vbe-glossary.md#string-expression) displayed as the message in the dialog box. The maximum length of **_prompt_** is approximately 1024 characters, depending on the width of the characters used. If **_prompt_** consists of more than one line, you can separate the lines using a carriage return character (**Chr(** 13 **)**), a linefeed character (**Chr(** 10 **)**), or carriage return-linefeed character combination (**Chr(** 13 **)** &; **Chr(** 10 **)**) between each line.|
24+
|**_prompt_**|Required. [String expression](../../Glossary/vbe-glossary.md#string-expression) displayed as the message in the dialog box. The maximum length of **_prompt_** is approximately 1024 characters, depending on the width of the characters used. If **_prompt_** consists of more than one line, you can separate the lines using a carriage return character (**Chr(** 13 **)**), a linefeed character (**Chr(** 10 **)**), or carriage return-linefeed character combination (**Chr(** 13 **)** & **Chr(** 10 **)**) between each line.|
2525
|**_title_**|Optional. String expression displayed in the title bar of the dialog box. If you omit **_title_**, the application name is placed in the title bar.|
2626
|**_default_**|Optional. String expression displayed in the text box as the default response if no other input is provided. If you omit **_default_**, the text box is displayed empty.|
2727
|**_xpos_**|Optional. [Numeric expression](../../Glossary/vbe-glossary.md#numeric-expression) that specifies, in twips, the horizontal distance of the left edge of the dialog box from the left edge of the screen. If **_xpos_** is omitted, the dialog box is horizontally centered.|

Language/Reference/User-Interface-Help/invalid-base-address.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You entered an invalid base address. This error has the following cause and solu
1515

1616

1717

18-
- On the Compile Tab in the **Project Properties** dialog, you specified an invalid Base Address. A valid base address must be a multiple of 64K, greater than 64K, and less than &;H7FFF0000. This error occurs in ActiveX DLL or ActiveX Control projects.
18+
- On the Compile Tab in the **Project Properties** dialog, you specified an invalid Base Address. A valid base address must be a multiple of 64K, greater than 64K, and less than &H7FFF0000. This error occurs in ActiveX DLL or ActiveX Control projects.
1919

2020

2121
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

0 commit comments

Comments
 (0)