VB Language
Abs()
Returns the absolute value of a specified number.
- Read more about Abs()
- 2 comments
- Log in or register to post comments
Asc()
The Asc() function will return the ASCII code for the character. It a string is placed in the function it will only return the ASCII code for the first character.
- Read more about Asc()
- Log in or register to post comments
Atn()
Calculates the value containing the angle whose tangent is the specified number. The result is a double type. The example below calculates pi.
- Read more about Atn()
- Log in or register to post comments
Boolean
A Boolean variable can hold a True/False value. Boolean variables (and properties) are used frequently in VBA programming to hold data that can be on/off, yes/no, and so on. When you declare a Boolean variable, it is automatically initialized to False.
- Read more about Boolean
- Log in or register to post comments
Byte
Name: Byte
Type: Integer - Numbers with no fractional part
Range: 0 to 255
- Read more about Byte
- Log in or register to post comments
Cbool()
Converst an expression into a boolean. So if the expression is true, i.e. 5 = 5 then it would return True, if it is false, i.e. 5 = 6 then it would return false.
- Read more about Cbool()
- Log in or register to post comments
CDate()
This function converst a valid date or time expression that is currently a string into a date type. The expression can contain only the date, only the time or both.
- Read more about CDate()
- Log in or register to post comments
CDbl()
This conversion will change a number into a number of type double.
- Read more about CDbl()
- Log in or register to post comments
CInt()
Converts a numeric expression into one of an integer data type. In the example below when we changed a double into an integer the fractional portion is rounded.
- Read more about CInt()
- Log in or register to post comments
CLng()
This functions changes a number into a long type.
- Read more about CLng()
- Log in or register to post comments