WorksheetFunction.Asc Method
For Double-byte character set (DBCS) languages, changes full-width (double-byte) characters to half-width (single-byte) characters.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Asc ( _
Arg1 As String _
) As String
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As String
Dim returnValue As String
returnValue = instance.Asc(Arg1)
string Asc(
string Arg1
)
Parameters
Arg1
Type: System.StringThe text or a reference to a cell that contains the text you want to change. If text does not contain any full-width letters, text is not changed.
Return Value
Type: System.String