Ich kann eine Funktion wie z.B
Function hallo(z)
x = z
x = x \ 2
hallo = x
End Function
in einer Excel-Zelle mit =hallo(7)
aufrufen und würde als ergebnis die zahl 3 angezeigt in der zelle bekommen wenn die o.g. Funktion als Makro hinterlegt ist.
Wei rufe ich aber eine Prozedur in einer Excel-Zelle auf z.B?
Sub hallo()
MsgBox "Hallo Welt"
End Sub
etwa so =hallo() ---> das geht so nicht was ist falsch ?
Vielen Dank im voraus
Grüße
Image