Computer Ms-Excel and Visual Basic Functions
Computer Ms-Excel and Visual Basic Functions
28. If()- This function is used to check a condition , if a condition is true then true part of IF is
solved otherwise false part If is solved.
=IF(Condition, true, false)
29. AND()- This function is used to combine two or more condition . if all the condition are true
then it will return true otherwise false.
30. OR()- This function is used to combine two or more conditions . if any one conditions is true
then it will return true otherwise false.
Visual basic Function
1. String()- This function returns a number of characters from the beginning of string
Left(“Computer”,1)- Will display C
2. Right()-This function returns a number of characters from the end of a string
Right(“Computer”,1)- Will display r
3. Mid()- This function returns a number of characters starting from a given position .
Mid(“computer”,4,3)- Will display put
4. Len()- This function returns length of a string
Len(“Computer”)- Will display 8
5. Lcase()- This function converts upper case alphabet into lower case.
Lcase(“VISUAL BASIC -6”)-Will display Visual basic-6
6. Ucase()-This function converts lower case alphabet into upper case
Ucase(“Visual basic-6”)-Will display VISUAL BASIC -6
“Aim high join sky”