Excel VBA - formula for SumIFS works when created in cell, get an error on VBA

I have a macro that I need to add a few calculating rows to that will then have a summary total row for the calculations above.   I have my search names in Column B and am trying to enter the final calculation row in Column I.  My macro is working fine upto the point that I am selecting the cell to insert this formula into.  No row numbers can be used as this will be a floating calculations based on "LAST ROW"

This is the formula I was able to get from using the function options w/in excel and just having the formula in the cell.  However, when I try to add it to my VB code, it does not work.  I'm getting an error at the colon that is between the I column.
       ActiveCell.Formula =SUMIFS(I:I,B:B,"Adjustments")+SUMIFS(I:I,B:B,"Direct Hire")+SUMIFS(I:I,B:B,"Grand Total")

I'm just not seeing why the code won't work in the VBA part.
jenitAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martin LissOlder than dirtCommented:
For the B:B parts, etc. you probably need to do Range("B:B")
NorieAnalyst Assistant Commented:
Try this.

 ActiveCell.Formula = "=SUMIFS(I:I,B:B,""Adjustments"")+SUMIFS(I:I,B:B,""Direct Hire"")+SUMIFS(I:I,B:B,""Grand Total"")"

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jenitAuthor Commented:
Perfect - I knew I was missing some finite details, I just didn't know which ones.   Thanks for your help!!!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.