Im trying to re write this macro to copy from R1 to R200 not entire column R. This what I have so far!!
![]()
Please Login or Register to view this content.
Im trying to re write this macro to copy from R1 to R200 not entire column R. This what I have so far!!
![]()
Please Login or Register to view this content.
I may be alone here, but I don't really understand what you are trying to do.
To copy cells R1 to R200, you could use something like:
![]()
Please Login or Register to view this content.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
I have a workbook with Sheets 1 (Estimate) and Sheet 2 (Order) Im trying to auto fill in Sheet 2 at when a match appears in Sheet 1, I only want it to look in R1 to R200 but it is looking at the whole column.
That's probably because you determine and use the last row, LR.
Just use:
![]()
Please Login or Register to view this content.
Regards, TMS
Just to make this even harder what if Worksheet 1 (Estimate) was in 1 workbook and Worksheet 2 (Order) was in another can you run a macro from another workbook?
Why do you need to do that?
Use a fully qualified reference ... not something I've had call to do.
Regards, TMS
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks