worksheetfunction.sum

  1. D

    How to keep SUM formula in cell after VBA

    Hello everyone! First time post here and I am hoping someone will be able to answer a couple of issues I have been having with just starting out with VBA on excel. I have a spreadsheet that will have new info every week so the columns will stay the same, but the number of rows will vary...
  2. B

    help me with this code

    Sub notworking() With Worksheets(1) WorksheetFunction.Sum (.Range(.Range("A1"), .Range("A7"))) End With Sub moo() WorksheetFunction.Sum (Worksheets(1).Range(Worksheets(1). _ Range("A1"), Worksheets("sheet2").Range("A7"))) End Sub i dont understand what output iam geeting,i found this code in...
  3. A

    Division by zero error on WorksheetFunction.Sum

    Hello, I have a VBA sub that reads some values off a worksheet, calculates some statistics and prints them into different cells. I built the workbook using Excel 2011 for Mac. At one point I am getting a runtime 11 error: "Division by zero". The line highlighted by the debugger only uses...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top