troubleshooting Question

VB Macro Help Requested

Avatar of James0903
James0903 asked on
Microsoft Excel
6 Comments1 Solution292 ViewsLast Modified:
I am requesting assistance with the coding of a VB macro.  Please see attached spreadsheet.  In the attached, a macro was created to copy data from the 'CSV' tab into the 'Template' tab (upon running, the final result would appear in the 'Results' tab).  The current macro is written for Part I - Fleet (the first table in the 'template' tab, rows 14-49).  

Our customers now require additional information for each airline customer.  They want to see the employee count.  In the 'template' tab I created another table, Part II - Fleet and Personnel (rows 53-63).  Unfortunately, my programmer cannot provide the data set needed for Parts I & II in one Excel spreadsheet, thus, tab 'CSV2' has data for Part II.

Can the current macro be updated so that when it runs, it continues to place the data for Part I into the first table, and then places the data for Part II into the second table?  

I have attempted to update the program, and had no luck at all (it would embarassing to place it online that is how bad it was!).  The "Current Results" is what the code is currently doing.  The "Desired Results" is what I am trying to accomplish.  When it is completed, each airline should only have 1 page.  Though in there are only two airlines of data in the attached, this spreadsheet will be used for 100+ airlines.

Please advise with any questions.  Thank you as always for your help!

Attached:  My Excel spreadsheet and a Word file with the current macro code.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros