I have a macro that pulls data from all of the Worksheets in my Workbook (all the same format, data in columns D to Q) and adds it to the Summary Worksheet without issue. But I want to add the source Worksheet name in column A followed by the data from that worksheet. I've tried it with the "'Range("A:A") = ws.name" statement in the three spots that you see it commented out at and it doesn't give me what I want. It either puts "Summary" (the active sheet) or the name of the last worksheet that it pulls from for all of the data. It also fills column A all the way down to row 65536, which is no good. Can someone point me in the right direction with this one? Here is a picture of what I want:
excel.jpg
Bookmarks