WorksheetFunction.Asc method (Excel)
For double-byte character set (DBCS) languages, changes full-width (double-byte) characters to half-width (single-byte) characters.
Syntax
expression.Asc (Arg1)
expression A variable that represents a WorksheetFunction object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Arg1 | Required | String | The text or a reference to a cell that contains the text that you want to change. If the text does not contain any full-width letters, the text is not changed. |
Return value
String
Remarks
WorksheetFunction.Asc() is not equivalent to Asc(), which converts a string to an integer.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.