So I have a whole bunch of workbooks that I want to do the same thing to. How can I loop the below bit of code for every file in a given folder?
Need a whole lot of things transposed into one workbook (testmasterspreadsheet). from the inputs (inputexample1, inputexample2...)
Code:
Windows("Inputexample1.xlsm").Activate
Sheets("Wool").Select
Range("A8:A23").Select
Selection.Copy
Windows("TestMasterSpreadsheet.xlsx").Activate
Range("A3").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
Windows("Inputexample1.xlsm").Activate
Sheets("Blue").Select
Range("A7:A9").Select
Application.CutCopyMode = False
Selection.Copy
Windows("TestMasterSpreadsheet.xlsx").Activate
Range("AI3").Select
Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=True
Need a whole lot of things transposed into one workbook (testmasterspreadsheet). from the inputs (inputexample1, inputexample2...)