Hello people,
I am trying to create an array that each string in my array presents a column,
I want to loop each used cell in in the column then go to next string in the array(next column)
here is my code so far
Could someone help me?
I am trying to create an array that each string in my array presents a column,
I want to loop each used cell in in the column then go to next string in the array(next column)
here is my code so far
Code:
Sub Test()
Dim i As Long
Dim ArrCol() As Variant
ArrCol = Array("T", "U", "V")
For i = LBound(ArrCol) To UBound(ArrCol)
Dim mystring As Variant
mystring = ArrCol(i)
'I need to declare the column and cell here but I dont sucess...
MsgBox mystring
Next
End Sub
Could someone help me?