Code:
Public Sub IT_Estimation()Dim Employees As ListObject
Set Employees = ThisWorkbook.Sheets("Employees").ListObjects("Employees")
Dim Individuals As Workbook
Set Individuals = ThisWorkbook.Parent.Workbooks.Add
With Individuals
.Sheets.Add After:=Individuals.Sheets.Count, Count:=Employees.ListRows.Count
End With
End Sub
I am getting error on the below code
Code:
.Sheets.Add After:=Individuals.Sheets.Count, Count:=Employees.ListRows.Count
Please Help. Thank You