Hello,
I am trying to insert the following formula in to my VBA and then have it auto fill down to row 2000. I get the following error:
"Compile error" Expected: end of statement"
When I receive this error it highlights the word "Invite" in "Invite to Round 1" in my IFS statement.
I am trying to insert the following formula in to my VBA and then have it auto fill down to row 2000. I get the following error:
"Compile error" Expected: end of statement"
When I receive this error it highlights the word "Invite" in "Invite to Round 1" in my IFS statement.
VBA Code:
Sub Update_File()
Range("V1").Select
ActiveCell.Name = "Consolidated Status"
Range("V2").Select
Columns("V:V").EntireColumn.AutoFit
Range("V2").Formula = "=IFS(OR(E2="Invite to Round 1",E2="Invite to Round 2",E2="Invite to Round 3",E2="Invite to Round 4",E2="Invite to Round 5",E2="Invite to Round 6",E2="Round 1 Conducted", _
E2="Round 2 Conducted",E2="Round 3 Conducted",E2="Round 4 Conducted",E2="Round 5 Conducted",E2="Round 6 Conducted"),"Interviewing",OR(E2="Offer Recommended", _
E2="Offer Candidate Under Review by Approver",E2="Offer Candidate Flagged for Recruiter Review",E2="Offer Approved to Draft",E2="Generate Offer Letter", _
E2="Offer Letter Revisions Required",E2="Verbal Offer Extended",E2="Writtend Offer Extended",E2="Offer Not Approved"),"Offer Stage",OR(E2="Offer Accepted", _
E2="Ready to Onboard",E2="Hired"),"RTO/Hired",OR(E2="HireVue On-Demand interview selections",E2="HireVue On-Demand interview triggered", _
E2="Invited to Recruiter Screen",E2="Recruiter Screen Scheduled",E2="Recruiter Screen Conducted",E2="Invited to Business Screen",E2="Business Screen Scheduled", _
E2="Business Screen Conducted",E2="Meets Basics Qualifications"),"Screening")"
Selection.AutoFill Destination:=Range("V2:V2000"), Type:=xlFillDefault
Range("A1").Select
End Sub