I am trying to copy data columns from multiple files into an Excel sheet, each data column to be added to a new column in my active sheet. How can I increment the column index in a DO loop? I tried two different approaches:
1)
increment = 1
Column = "E " + increment.ToString() <= this is not working!
newColumnName = Column & ":" & Column
Columns(newColumnName).Select
2) using the command
columnIndex=i
Cells( , columnIndex).select <= this select only row 1 in column columnIndex
I'd appreciate suggestions/help.
Thanks!
V
1)
increment = 1
Column = "E " + increment.ToString() <= this is not working!
newColumnName = Column & ":" & Column
Columns(newColumnName).Select
2) using the command
columnIndex=i
Cells( , columnIndex).select <= this select only row 1 in column columnIndex
I'd appreciate suggestions/help.
Thanks!
V