Hi All,
I'm working on an Excel file that will combine several worksheets into one import sheet. The problem I am having is that I understand how to do this to select the entire row to copy but not just a set range. The below formula works but once I try to add in a second file to the "Import" sheet it states I cannot paste as the area is not the same size.
ThisWorkbook.Worksheets("Master").Rows(1).Find(What:="Qty", LookAt:=xlWhole).EntireColumn.Copy
ThisWorkbook.Worksheets("Import").Range("B1").PasteSpecial xlPasteValuesAndNumberFormats
How can I get the code to find "Qty" and select just the rows beneath it?
Please help!!
Sam G
I'm working on an Excel file that will combine several worksheets into one import sheet. The problem I am having is that I understand how to do this to select the entire row to copy but not just a set range. The below formula works but once I try to add in a second file to the "Import" sheet it states I cannot paste as the area is not the same size.
ThisWorkbook.Worksheets("Master").Rows(1).Find(What:="Qty", LookAt:=xlWhole).EntireColumn.Copy
ThisWorkbook.Worksheets("Import").Range("B1").PasteSpecial xlPasteValuesAndNumberFormats
How can I get the code to find "Qty" and select just the rows beneath it?
Please help!!
Sam G