Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2006

Tip: Looking for answers? Try searching our database.

q;Application.Sum

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JIM.H. - 03 Oct 2006 00:10 GMT
Dim mFree As Double
               mFree = wkbk.Sheets(1).Application.Sum(Range("Z2:Z10"))
this does not sum, any suggestion?
Dave Peterson - 03 Oct 2006 00:58 GMT
How about:

Dim mFree As Double
mFree = Application.Sum(wkbk.Sheets(1).Range("Z2:Z10"))

> Dim mFree As Double
>                 mFree = wkbk.Sheets(1).Application.Sum(Range("Z2:Z10"))
> this does not sum, any suggestion?

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.