ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   product of two cells (https://www.excelbanter.com/excel-programming/406754-product-two-cells.html)

[email protected]

product of two cells
 
hi
i am having a worksheet like
a b c
1 2
in the column c i have the product of the two cells a and b in coding
will you can tell me how to solve this problem........

JE McGimpsey

product of two cells
 
One way:

Public Sub Product2Cells()
Range("C1").Value = Range("A1").Value * Range("B1").Value
End Sub


In article
,
wrote:

hi
i am having a worksheet like
a b c
1 2
in the column c i have the product of the two cells a and b in coding
will you can tell me how to solve this problem........



All times are GMT +1. The time now is 10:34 AM.

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