={SUM(Quantity*Price)} this formula can be done thru CTRL + SHFT+ ENTER
However, how should we code it using VBA Code? Thanks!