Çarpma İşlemi Yap - Microsoft Excel


Çarpma işleminin yapılış biçimleriyle ilgili çeşitli alternatiflerin listelendiği VBA kodudur.

Kod


Option Explicit

Sub CarpmaIslemiYap()
    Range("C:C").Clear
    
    Range("C1") = Range("A1") * Range("B1")
    Range("C2").Formula = "=(A2 * B2)"
    
    Cells(3, 3) = Cells(3, 1) * Cells(3, 2)
    Cells(4, "C") = Cells(4, "A") * Cells(4, "B")
    
    [C5] = [A5] * [B5]
    
    Range("C6") = Application.WorksheetFunction.Product([A6], [B6])
End Sub

Etiketler
microsoft excel microsoft excel vba