Simple Macro Question
If the goal is to have the macro create an equation:
Sub gunti()
v = Worksheets("Invulblad").Range("AA47").Value
Range("L45").Formula = "=" & v & "*L43"
End Sub
--
Gary''s Student - gsnu200820
"Gunti" wrote:
Hi,
I'm very new to creating macro's. I've got a (maybe stupid question).
I have the following situation:
Basiscly what i want (what i would make of it) is the following code:
Range("L45").Value = "Worksheets("Invulblad").Range("AA47").Value * L43"
I want cell L45 to say:
=0,05*L43
if AA47 on sheet 'Invulblad' is 0,05 and
=0,00*L43
if AA47 on sheet 'Invulblad' is 0,00
Any help appreciated,
Greets,
Gunti
|