Enabled problem on commandbutton

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top