I had a crash and am having to rebuild some code. Using the example below, one area I'm having trouble with is in the "DO YOUR CODE HERE", "PsuedoCode" part. My overall operation is to manipulate pivot tables in and copy data from various files and paste into a single worksheet. My two pain points are:
1) For my first workbook I want to paste Headers and data, for the all the rest just the data. I'm looking for an elegant way to differentiate just those steps for my first WB, without having to have two really long steps that are basically the same other than headers and LastRow.
2) Instead of all the files in a folder I need to open 4 specific files. How would I plumb that into the code below?Please Login or Register to view this content.
Bookmarks