That is jogging a faint memory. You may have to make the button invisible rather than disabling it.
Although, I just tried it and the code didn't run when I disabled the command button. I used two separate buttons though so I didn't disable it using VBA. I just set the enabled property to false. Maybe when you set the property in code, there is a delay before it takes effect.
Please post your code