Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft