G
Guest
Hello,
How do I put in VB code/ macro to selection a range of data in row or column
where the number of rows is different each time and # of columns is pretty
consistently the same?
Anyway, I pull some raw data (several thousand of rows) each time in a word
pad format, then I got to select all the rows/ columns with data. Here's the
sequences of events that I do manually that I would like to automate with a
macro:
1) put the raw data manually starting in column B row 1.
2) number 1 to ... rows with data (not blank) in column A (for sorting/
resorting purposes). To be deleted later.
3) select only rows with data (starting w/ a date info), then apply a "Text
to Columns" function to seperate the data to different column.
4) delete all the not needed columns after "text to columns".
5) sort all columns with data by column B, then delete all unnecessary rows
6) resort all columns by column A.
7) delete column A
How do I put in VB code/ macro to selection a range of data in row or column
where the number of rows is different each time and # of columns is pretty
consistently the same?
Anyway, I pull some raw data (several thousand of rows) each time in a word
pad format, then I got to select all the rows/ columns with data. Here's the
sequences of events that I do manually that I would like to automate with a
macro:
1) put the raw data manually starting in column B row 1.
2) number 1 to ... rows with data (not blank) in column A (for sorting/
resorting purposes). To be deleted later.
3) select only rows with data (starting w/ a date info), then apply a "Text
to Columns" function to seperate the data to different column.
4) delete all the not needed columns after "text to columns".
5) sort all columns with data by column B, then delete all unnecessary rows
6) resort all columns by column A.
7) delete column A