Sum in VBA not defined correctly

Robert E Lee

Active Member
Joined
Aug 10, 2005
Messages
251
Hi All

I have tried the following code which does not complile and would be glad of some guidance.

Code:
ActiveCell = Application.WorksheetFunction = Sum(Range("F" & N + 2, "F" & R))
Thanks Rob
 

mole999

Moderator
Joined
Oct 23, 2004
Messages
9,947
Office Version
2019, 2016, 2013
Platform
Windows
isn't it Application.WorksheetFunction.Sum. can't test that from here
 

Forum statistics

Threads
1,085,577
Messages
5,384,551
Members
401,908
Latest member
shaanprakash

Some videos you may like

This Week's Hot Topics

Top