VBA

VBA – Filter Function

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

A Filter Function, which returns a zero-based array that contains a subset of a string array based on a specific filter criteria. Syntax Filter(inputstrings,value[,include[,compare]]) Parameter Description Inputstrings โˆ’ A required parameter.…

Continue ReadingVBA – Filter Function

VBA – Split Function

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

A Split Function returns an array that contains a specific number of values split based on a delimiter. Syntax Split(expression[,delimiter[,count[,compare]]]) Parameter Description Expression โˆ’ A required parameter. The string expression that…

Continue ReadingVBA – Split Function

VBA – UBound Function

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

The UBound Function returns the largest subscript of the specified array. Hence, this value corresponds to the size of the array. Syntax UBound(ArrayName[,dimension]) Parameter Description ArrayName โˆ’ A required parameter. This…

Continue ReadingVBA – UBound Function

VBA – LBound Function

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

The LBound Function returns the smallest subscript of the specified array. Hence, LBound of an array is ZERO. Syntax LBound(ArrayName[,dimension]) Parameter Description ArrayName โˆ’ A required parameter. This parameter corresponds to…

Continue ReadingVBA – LBound Function

VBA – Time Value Function

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

The TimeValue Function converts the given input string to a valid time. Syntax TimeValue(StringTime) Example Add a button and add the following function. Private Sub Constant_demo_Click() msgbox(TimeValue("20:30")) msgbox(TimeValue("5:15")) msgbox(TimeValue("2:30:58")) End…

Continue ReadingVBA – Time Value Function