Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Conversion Summary 

Visual Basic language keywords and run-time library members are organized by purpose and use.

Action Language element

Convert ANSI value to string.

Chr, ChrW

Convert string to lowercase or uppercase.

Format, LCase,UCase

Convert date to serial number.

DateSerial, DateValue

Convert decimal number to other bases.

Hex, Oct

Convert number to string.

Format, Str

Convert one data type to another.

CBool, CByte, CDate, CDbl, CDec, CInt, CLng, CSng, CShort, CStr, CType, Fix, Int

Convert date to day, month, weekday, or year.

Day, Month, Weekday, Year

Convert time to hour, minute, or second.

Hour, Minute, Second

Convert string to ASCII value.

Asc, AscW

Convert string to number.

Val

Convert time to serial number.

TimeSerial, TimeValue

Show:
© 2015 Microsoft