Hello,
I wanna achieve this:
SliceArray= Worksheetfunction.Index(varArray, (Array(2, 4, 5), 0))
in a more generic style like this
Function SliceArray (p_lngStartRow as Long, p_lngEndRow as Long) as Variant
Dim varSubArr() as Variant
Dim i as Long
ReDim varSubArr(1 To (p_p_lngEndRow-...