Hi All.
I had a months long project 100% finished, when I suddenly encountered "Run-time error '1004': Unable to set the Visible property of the CheckBoxes class."
This is occuring on the line:
ActiveSheet.CheckBoxes.Visible = False
This line of code has worked beautifully up until now. I can't imagine why it suddenly errors. I'm not using any kind of protection, and I can even set the visible property within a for loop:
But this takes several seconds to hide all 62 checkboxes on my sheet, which is unmanagable in the project. My only clue is that I have assigned these checkboxes to custom collections, and have set the visible property from within those collections. Could that be the problem? I am totally lost, and will be back to square 1 if I can't get around this.
Any help would be GREATLY appreciated.
Thank you so much.
James M.
I had a months long project 100% finished, when I suddenly encountered "Run-time error '1004': Unable to set the Visible property of the CheckBoxes class."
This is occuring on the line:
ActiveSheet.CheckBoxes.Visible = False
This line of code has worked beautifully up until now. I can't imagine why it suddenly errors. I'm not using any kind of protection, and I can even set the visible property within a for loop:
Code:
for a = 1 to activesheet.checkboxes.count
ActiveSheet.CheckBoxes(a).Visible = False
next
But this takes several seconds to hide all 62 checkboxes on my sheet, which is unmanagable in the project. My only clue is that I have assigned these checkboxes to custom collections, and have set the visible property from within those collections. Could that be the problem? I am totally lost, and will be back to square 1 if I can't get around this.
Any help would be GREATLY appreciated.
Thank you so much.
James M.