I created a command button to run some vba code but for some reason when the excel file is first opened the button isn't clickable. Only after closing the file then reopening it becomes clickable. Seems like every other time the file is opened is only when the command button is clickable.
When it's not available the cursor shows a a thick + sign when it's over the command button.
When it's available the cursor shows an arrow when it's over the command button.
1st open - not available
2nd open - available
3rd open - not available
4th open - available
etc.
One other thing to mention is then when I close the file each time without making any changes it asks if I want to save changes. Maybe something is changing on the file each time it's opened?
Edit: So I tested the sequence again and if I choose "don't save changes" when closing the availability of he command button remains the same next time it's opened. So something is being changed on the file in the background each time it's opened. Still can't figure out what's happening.
Hopefully I can get to the bottom of what's going on here.
Thanks!
When it's not available the cursor shows a a thick + sign when it's over the command button.
When it's available the cursor shows an arrow when it's over the command button.
1st open - not available
2nd open - available
3rd open - not available
4th open - available
etc.
One other thing to mention is then when I close the file each time without making any changes it asks if I want to save changes. Maybe something is changing on the file each time it's opened?
Edit: So I tested the sequence again and if I choose "don't save changes" when closing the availability of he command button remains the same next time it's opened. So something is being changed on the file in the background each time it's opened. Still can't figure out what's happening.
Hopefully I can get to the bottom of what's going on here.
Thanks!
Last edited: