I would like to get the product of values of a range of cells in excel, using VBA.
I got a selection e.g.: (that works)
ActiveSheet.Range(Cells(i, j), Cells(i, z)).Select
I would like to put the product of a range in another cell but this is not working:
'Range("X10").Formula = "=PRODUCT(Range(Cells(i, j),Cells(i, z)))"
Help is really appreciated, thanks in advance!