I need a macro to copy data from "sheet1" "sheet2" "sheet3" / column E and F
to the worksheet "final".
The number of rows in "sheet1", "sheet2", "sheet3" etc. is variable.
Please open attached file!
Thanks for your help!
I need a macro to copy data from "sheet1" "sheet2" "sheet3" / column E and F
to the worksheet "final".
The number of rows in "sheet1", "sheet2", "sheet3" etc. is variable.
Please open attached file!
Thanks for your help!
Last edited by iscar_marius; 02-06-2009 at 01:37 PM.
You could do it like this:Please Login or Register to view this content.
this is exactly what I need
Thanks!
This locks in the starting cell. Change to F
and this part shows it ending in Col F, Change to GPlease Login or Register to view this content.
and finally this parts find the last cell in Col FPlease Login or Register to view this content.
So if the last cell in Col F is F100 the full code would copy the range E2:F100Please Login or Register to view this content.
HTH
VBA Noob
Last edited by VBA Noob; 02-09-2009 at 09:16 AM.
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Thank you!
This is almost what I am looking for, all I need to change is have the row count on the first column and for what ever reason I cant get the starting row to work. I want it to start in A3 and finish in CB (column A will always have cells filled where CB may have empty cells).
stevenoob,
Please do not resurrect old threads. Further, do not post your question in the thread someone else has started - this is known as thread hijacking and is against the Forum Rules.
Always start your own thread and, if it helps to clarify your needs, provide a link back to other threads.
I suggest you take the time to read the Forum Rules so that you can avoid infractions that will impact your posting privileges.
Ben Van Johnson
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks