![microsoft word special characters list microsoft word special characters list](https://images.tips.net/S01/Figs/T10F1.png)
MsgBox "You want " & i & "nd Character i.e.
#Microsoft word special characters list code#
Below code we will obtain 2nd character from the selection: Code example Public Sub LastCharacterCountExample() Helps to iterate Nth character by passing a positive integer value as index. MsgBox "Last Character of your Selection is " & Asc() 'Declare object to hold current selection Code example Public Sub LastCharacterCountExample()
![microsoft word special characters list microsoft word special characters list](https://getproofed.com/wp-content/uploads/2019/12/US_27_Symbols-and-Special-Characters-in-Microsoft-Word_MS-1024x537.png)
Returns last character of given range, mostly it points to Carriage Return which is known as Character 13 in ASC standard, Hence to make the example clear I have printed last character in ASC format. MsgBox "First Character of your Paragraph is " & Set oPraragraph = oDocument.Paragraphs(3) It returns a character which refers to very first character of the specified range as shown below: Public Sub FirstCharacterCountExample() MsgBox "First Paragraph contains total " & & " Characters" Set oPraragraph = oDocument.Paragraphs(1) 'Declare variable to hold first paragraph During the lifetime of those two products, Microsoft added the euro currency symbol bringing the number of characters to 218, and introduced a new core set of Pan-European fonts containing the WGL4 (Windows Glyph List 4) character set, with 652 characters. Code example Public Sub CharactersCountExample() Below code example will grab first paragraph of the document and shows total characters as result. CountĬan be used to get the count for specific range in a document. In this post we will cover couple of properties and methods to work with Characters collection in a document. Microsoft Word offers collection of characters exposed by Range object where each character can be iterated using an index (a positive integer).