Excel sum function IN VBA

  • Thread starter Thread starter Sobhani Hafiz
  • Start date Start date
S

Sobhani Hafiz

HI ,

Is it possible to use the excel sum function in VBA? I recorded a macro to
with Excel sum, Then I changed the row number and tried to run from VBA. It
seems that it didnt run.

Any help will be greatly appreciated.

Arefin
 
Current versions will recognize
Application.Sum()
WorksheetFunction.Sum()
Application.WorksheetFunction.Sum()

Some older versions will only recognize
Application.Sum()

Jerry
 
Added comment:
Older versions being xl5 and xl95. WorksheetFunction was introduced in
xl97.
 
Back
Top