LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Calculate Range

hi all,

please help me

ActiveWorkbook.ActiveSheet.Range(Cells(4, 7), Cells((mData + 3),
7)).Formula = "=SUM()"

and

ActiveWorkbook.ActiveSheet.Range("F15").Formula =
"=SUM(range.cells(4,7),cells((mData+3),7))"

both are not working

all i want to do is add the numbers in the column but the numbers can
be more and less that is why i have applied range.cells

can anyone help

any ideas??

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I calculate within a range? Jdd561 Excel Worksheet Functions 5 November 5th 06 06:09 PM
How can I calculate the Moving-Range without returning negatives asiggy Excel Discussion (Misc queries) 0 October 25th 06 01:39 PM
Calculate Date range Calculate Date range Excel Worksheet Functions 4 September 6th 05 10:12 AM
Calculate max value in specific range NoSpamPlease Excel Discussion (Misc queries) 2 August 11th 05 04:10 PM
How to Calculate a sum between a rolling data range. Charles Johnston Excel Discussion (Misc queries) 3 June 1st 05 08:29 PM


All times are GMT +1. The time now is 07:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"