read sheet1 and produce sheet3 (error in my script)

Please find attached excel with added 3rd sheet . when you click on the Get Data button it will prepare same table as in sheet2 based on the sheet1 . I have a problem if I add more than 200 columns in sheet1. could you help in this?


Mohammed DallagPetroleum ConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

[ fanpages ]IT Services ConsultantCommented:
The only statement I needed to change to ensure the code concluded successfully was:

Dim Row As Integer

Amended to read:

Dim Row As Long

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mohammed DallagPetroleum ConsultantAuthor Commented:
Thank you so much for your help


Mohammed DallagPetroleum ConsultantAuthor Commented:
I am getting now another error when I changed the data. Could you please check that?
See the attachments


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.