Ok so here is my question:
In my code I have for example Range("A7:A8527").Select
My problem is, when I import the information every month to run this code, The number of lines can vary.
Can I manipulate the syntax to where it will capture the data in the cells I want no matter how many rows there are? I also want it to end at the end of the data; not go all the way down to the end of the sheet. For Ex. if I do ("A:A") the data will go down the bottom of the sheet.
In my code I have for example Range("A7:A8527").Select
My problem is, when I import the information every month to run this code, The number of lines can vary.
Can I manipulate the syntax to where it will capture the data in the cells I want no matter how many rows there are? I also want it to end at the end of the data; not go all the way down to the end of the sheet. For Ex. if I do ("A:A") the data will go down the bottom of the sheet.