I have numerous sets of data in a spreadsheet. They are all the same number of columns wide, but rows varies. I recorded a macro to do a bunch of things to this data. It appears to be working but it is going back to the original set of data, the original range, and just doing the macro all over again on that data. But I want it to do it on the new set of data, beginning where I have the Active cell. How can I do this? I know the problem is it is selecting A14:K29, which is what I used to record the macro manually, and I don't want it to go there, I want it to deal with the new set of data. (And the number of rows for any given data set will vary with each set.)
Here is the code I got from manually creating my macro.
EDIT: For the range, it would be start at the Active cell, go down to the last cell with data (that is not empty), then select all the way over for ten more columns (a total of 11 columns should be selected). And again, the number of rows will vary each time. (The variable is to go all the way down until you get to an empty cell.)Please Login or Register to view this content.
Bookmarks