wenn Zelle A1 "" ist, möchte ich gerne, das EINMALIG eine MessageBox vbinformation aufploppt.
Das mit der Msgbox bekomme ich vermutlich selber hin, aber welchen Code brauche ich, dass das nur einmalig aufploppt?
Danke und Gruß
Tobias
Public x As Boolean
In Modul des Blattes:
Private Sub Worksheet_Activate()
If Range("A1") "" And x = False Then
x = True
MsgBox "hier dein Text"
End If
End Sub
Evtl. gehts auch im Modul der Mappe, hab ich jetzt nicht getestet.