{"id":3086,"date":"2018-09-22T17:24:41","date_gmt":"2018-09-22T17:24:41","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=3086"},"modified":"2024-03-29T15:48:44","modified_gmt":"2024-03-29T15:48:44","slug":"sum-function","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/vba\/sum-function\/","title":{"rendered":"Sum Function in VBA"},"content":{"rendered":"\n
As you know, you can use the SUM function or the autosum button<\/a> to sum a range inside an Excel worksheet. But you can also do it by using the VBA code.<\/p>\n\n\n\n There are a few ways you can do it. Take a look at the following examples. The sum of all cells equals 21.<\/p>\n\n\n\n