Ciao a tutti,
volevo disattivare le barre dei comandi e tento con il seguente codice:
Private Sub Form_Open(Cancel As Integer)
Dim cbr1 As commandbar
For Each cbr1.Name In CommandBars
If cbr1.Name = "Menu Bar" Then
cbr1.enable = False
End If
Next cbr1
End Sub
ma mi da il seguente errore:
ERRORE DI COMPILAZIONE:
TIPO DEFINITO DALL'UTENTE NON DEFINITO
Sapete perchè?
Ciao

Rispondi quotando