Hi Larit, I tried the macro on a 2500 lines report, it took long time to proceed and reported error, stopped at:
ThisWorkbook.Worksheets("Item Master").Range("A1").End(xlDown).Offset(1).Resize(UBound(varShee1Data) + 1) = Application.Transpose(varShee1Data) Can you please help? Thanks, Tony On Friday, May 4, 2012 10:20:48 AM UTC-4, Tony Wu wrote: > > It works, thanks a lot!!! > > > On Friday, May 4, 2012 10:02:25 AM UTC-4, Lalit_Mohan wrote: >> >> >> Hi >> >> PFA >> >> >> *Regards,* >> *Lalit Mohan* >> *https://www.facebook.com/buzinesstransformation*<https://www.facebook.com/buzinesstransformation> >> >> >> >> >> On Fri, May 4, 2012 at 12:52 AM, Tony Wu <wumu...@gmail.com> wrote: >> >>> Hello, >>> >>> I have 2 sheets in one file, one sheet "A" has less part numbers than >>> the other sheet "B", would like to have a macro to verify the part number >>> in "A" vs. "B", anything missing in "B" will be added to the bottom of >>> sheet "A". >>> >>> My logical is trying to use "iserror(vlookup(...),0) to see if the >>> logical is false, if so, copy the cell value to sheet "A", but don;t know >>> how to translate that into VBA language ... >>> >>> Need your help. >>> >>> Thanks, >>> >>> Tony >>> >>> -- >>> FORUM RULES (986+ members already BANNED for violation) >>> >>> 1) Use concise, accurate thread titles. Poor thread titles, like Please >>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice >>> will not get quick attention or may not be answered. >>> >>> 2) Don't post a question in the thread of another member. >>> >>> 3) Don't post questions regarding breaking or bypassing any security >>> measure. >>> >>> 4) Acknowledge the responses you receive, good or bad. >>> >>> 5) Cross-promotion of, or links to, forums competitive to this forum in >>> signatures are prohibited. >>> >>> NOTE : Don't ever post personal or confidential data in a workbook. >>> Forum owners and members are not responsible for any loss. >>> >>> >>> ------------------------------------------------------------------------------------------------------ >>> To post to this group, send email to excel-macros@googlegroups.com >>> >> >> -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com