excelnewbie2018
New Member
- Joined
- Jan 16, 2018
- Messages
- 8
Hello community?
I am trying to copy two not adjacents colums (A and E) into a new sheet by using a VBA code. These two columns contain some data until row 45 (assumption), I just wanna copy the data until the last occupied row and not the graphs and calculation that might be below. Since the data set is updating daily, I would want to write a general code. Is there a way to identify the last occupied row and copy the columns just until that particular row?
Thanks in advance for your help!
I am trying to copy two not adjacents colums (A and E) into a new sheet by using a VBA code. These two columns contain some data until row 45 (assumption), I just wanna copy the data until the last occupied row and not the graphs and calculation that might be below. Since the data set is updating daily, I would want to write a general code. Is there a way to identify the last occupied row and copy the columns just until that particular row?
Thanks in advance for your help!