ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sumproduct in VBA (https://www.excelbanter.com/excel-programming/389914-re-sumproduct-vba.html)

DTM[_5_]

Sumproduct in VBA
 
Thanks Bob, you are of course right, I forgot to define those
variables...
I have made the suggested change now...
However I am still getting Runtime error '13 Type mismatch... I think
my problem is more fundamental.



Dave Peterson

Sumproduct in VBA
 
Bob also changed your formulas (in case you missed that).

If you put the equivalent formula in cells on a that worksheet, do they all work
ok?

I'm wondering if you have errors in one of those ranges.



DTM wrote:

Thanks Bob, you are of course right, I forgot to define those
variables...
I have made the suggested change now...
However I am still getting Runtime error '13 Type mismatch... I think
my problem is more fundamental.


--

Dave Peterson


All times are GMT +1. The time now is 12:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com