VBA | UserForm öffnen, sobald Excel-Zelle (die eine Formel enthält) = 2?

1 Antwort

Ich hätte es zwar etwas anders "formuliert", aber im Prinzip sollte das doch klappen. Das UCase ist allerdings Quatsch.


Private Sub Worksheet_Change(ByVal Target As Range)

If Target.Address = "$T$6" Then
  If Target.Value > 2 Then NewUserForm.Show
End If

End Sub

Klappt es so?
Woher ich das weiß:Berufserfahrung – IT-Administrator (i.R.)