ich hab grad voll das Brett vorm Kopf. ich über gebe einer Prozedur ein UserForm. Das scheint auch zu funktionieren, aber bei ufNotice.hide schimpft er 'Object doesn't support this property or method'
Wie mach ich das denn richtig?
Aufruf mit
Call NoticeAnzeigen(strFilename, Notice) 'Notice ist der Name des UF, keine Variable
Sub NoticeAnzeigen(strFileName As String, ufNotice As UserForm)
If ufNotice.chkShowNotice = True Then
SaveSetting strFileName, "Show Notice", "Value", True
Else
SaveSetting strFileName, "Show Notice", "Value", False
End If
Application.ScreenUpdating = True
Unload ufNotice
Wizard.Show
Application.ScreenUpdating = False
End Sub
Danke für Tips.
Gruß
Bertram