VBA

VBA – Left

  • Post author:
  • Post category:VBA
  • Post comments:1 Comment

The Left function returns a specified number of characters from the left side of the given input string. Syntax Left(String, Length) Parameter Description String − A required parameter. Input String from…

Continue ReadingVBA – Left

VBA – UCase

  • Post author:
  • Post category:VBA
  • Post comments:0 Comments

The UCase function returns the string after converting the entered string into UPPER case letters. Syntax UCase(String) Example Add a button and place the following function inside the same. Private…

Continue ReadingVBA – UCase

VBA – Lcase

  • Post author:
  • Post category:VBA
  • Post comments:0 Comments

The LCase function returns the string after converting the entered string into lower case letters. Syntax Lcase(String) Example Add a button and place the following function inside the same. Private…

Continue ReadingVBA – Lcase

VBA -InString Reverse

  • Post author:
  • Post category:VBA
  • Post comments:0 Comments

The InStrRev function returns the first occurrence of one string within another string. The Search happens from the right to the left. Syntax InStrRev(string1,string2[,start,[compare]]) Parameter Description String1 − A required parameter.…

Continue ReadingVBA -InString Reverse

VBA – Instr

  • Post author:
  • Post category:VBA
  • Post comments:0 Comments

The InStr Function returns the first occurrence of one string within another string. The search happens from the left to the right. Syntax InStr([start,]string1,string2[,compare]) Parameter Description Start − An optional parameter.…

Continue ReadingVBA – Instr

VBA – Exit Do

  • Post author:
  • Post category:VBA
  • Post comments:0 Comments

An Exit Do Statement is used when we want to exit the Do Loops based on certain criteria. It can be used within both Do…While and Do...Until Loops. When Exit Do is executed, the control jumps to the next statement…

Continue ReadingVBA – Exit Do

VBA – Exit For

  • Post author:
  • Post category:VBA
  • Post comments:0 Comments

An Exit Fors statement is used when we want to exit the For Loop based on certain criteria. When Exit For is executed, the control jumps to the next statement immediately after the For Loop. Syntax Following is…

Continue ReadingVBA – Exit For