When i change the Enabled propety on a commandbutton in the VBA code, the commandbutton still looks and acts like its not bin changed. Any one knows why?
Code exampel
Public Sub UppdateButtons(
Dim bBool As Boolea
If combSheets.ListIndex > 0 The
bBool = Tru
Els
bBool = Fals
End I
cmdDeleteSheet.Enabled = bBoo
cmdCalcData.Enabled = bBoo
End Su
This code does change the propety (if you "watch" it") but nothing hapends on the command button on the sheet...