Hello folks:
I had a user helped me with the following code:
I now need to add 4 more workbooks: byemployee.csv; byposition.csv; status report.xls; bydepartment.csv. I then need to paste those workbooks into worksheets by the same name in workbook 2011.1004.Salary Survey Template.xlsm
Thanks
I had a user helped me with the following code:
Sub copyByBand()
Dim sFile As String
Dim sFileToOpen As String
sFile = "2011.1004.Salary Survey Template.xlsm"
sFileToOpen = Workbooks(sFile).Path & "\byband.csv"
If Len(Dir(sFileToOpen)) > 0 Then
With Workbooks.Open(sFileToOpen)
.Worksheets(1).Cells.Copy Workbooks(sFile).Worksheets("byband").Range("A1")
.Close savechanges:=False
End With
End With
End Sub
I now need to add 4 more workbooks: byemployee.csv; byposition.csv; status report.xls; bydepartment.csv. I then need to paste those workbooks into worksheets by the same name in workbook 2011.1004.Salary Survey Template.xlsm
Thanks