Originally Posted by watersev hi bananius, total = ActiveSheet.Evaluate("SUMPRODUCT(--(MMULT(--(" & Range1.Address & "=" & """VAC""" & "),{1;1;1;1;1;1;1;1;1})<5))") Thank you for your help watersev!!!! It worked! Do you always have to put ".Address" when referring to a range? Also why are there two sets of quotation marks around ""VAC""? Thanks again!!!
total = ActiveSheet.Evaluate("SUMPRODUCT(--(MMULT(--(" & Range1.Address & "=" & """VAC""" & "),{1;1;1;1;1;1;1;1;1})<5))")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Forum Rules
Bookmarks