Hello,
Again, thank you very much for your assistance. Yes, the steps mentioned in post 3 do need to be done for each workbook, as they are not formatted as needed when they are pulled from our database. I have included my code below. Please let me know if you need anything further.
Application.ScreenUpdating = False
'
Columns("A:A").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Columns("A:B").Select
Selection.Copy
Sheets("Sheet2").Select
ActiveSheet.Paste
Sheets("Sheet3").Select
Range("A1").Select
ActiveSheet.Paste
Sheets("Sheet4").Select
ActiveSheet.Paste
Sheets(Array("Sheet1", "Sheet2", "Sheet3", "Sheet4")).Select
Sheets("Sheet1").Activate
Rows("1:1").Select
Application.CutCopyMode = False
Selection.Insert Shift:=xlDown
Sheets("Sheet1").Select
Range("A1").Select
ActiveCell.FormulaR1C1 = "1"
Range("B1").Select
ActiveCell.FormulaR1C1 = "2"
Range("A1:B1").Select
Selection.AutoFill Destination:=Rows("1:1"), Type:=xlFillDefault
Sheets("Sheet2").Select
Range("C1").Select
ActiveCell.FormulaR1C1 = "257"
Range("D1").Select
ActiveCell.FormulaR1C1 = "258"
Range("C1:D1").Select
Selection.AutoFill Destination:=Range("C1:IU1"), Type:=xlFillDefault
Sheets("Sheet3").Select
Range("C1").Select
ActiveCell.FormulaR1C1 = "510"
Range("D1").Select
ActiveCell.FormulaR1C1 = "511"
Range("C1:D1").Select
Selection.AutoFill Destination:=Range("C1:IU1"), Type:=xlFillDefault
Sheets("Sheet4").Select
Range("C1").Select
ActiveCell.FormulaR1C1 = "763"
Range("D1").Select
ActiveCell.FormulaR1C1 = "764"
Range("C1:D1").Select
Selection.AutoFill Destination:=Range("C1:AG1"), Type:=xlFillDefault
Sheets("Sheet1").Select
Prompt user to select file of required fields
Dim Ref_WBook As String
Ref_WBook = Application.GetOpenFilename("Excel File (*.xls), *.xls") 'Command to allow browse procedure
If Ref_WBook <> "False" Then
Workbooks.Open Ref_WBook
End If
Bookmarks