A
Arvind Mane
i am doing some caculations in excel cells, my result is in cell A1,
if the result comes "#DIV/0!" then While executing the following macro, VBA
gives me Debug message. The value of A becomes "Error 2007".
How can i solve this problem?
Sub Postmacro()
A = Cells(1, 1).Value
B = 1.5
if(A<>0) then
C = B / A
End if
End Sub
if the result comes "#DIV/0!" then While executing the following macro, VBA
gives me Debug message. The value of A becomes "Error 2007".
How can i solve this problem?
Sub Postmacro()
A = Cells(1, 1).Value
B = 1.5
if(A<>0) then
C = B / A
End if
End Sub