Im new here and i want to make this code more simple:
If tabC.TabCount = 1 Then NClose.Enabled = False CloseNote.Enabled = False CloseNoteContext.Enabled = False CloseNoteX.Enabled = False Else NClose.Enabled = True CloseNote.Enabled = True CloseNoteContext.Enabled = True CloseNoteX.Enabled = True End If
I try this
NClose.Enabled, CloseNote.Enabled, CloseNoteContext.Enabled = True
But won't work. I want to google it, but don't know what keyword to type.