I just discovered some very strange behavior in my workbook. It's used by several people (mostly on Excel for Mac), and is passed back & forth between Excel 2019/365, Excel 2016, and Excel 2011. Most of the time, it works on all three platforms without issue. However, today a user contacted me because they were getting an error that said "Compile error in hidden module" and then said the name of one of the UserForms. The code is password protected, so no one is able to get into but me.
I unlocked the code and clicked the button to open that UserForm, and it failed on a line in the Initialize sub. The line was setting a checkbox to True. I looked at the Properties of that checkbox, and discovered that the Name was missing! Take a look at the image. You'll see on the left, next to (Name), there is nothing.
I can assure you, every single checkbox had a name when I released the file publicly. I seriously doubt any of my users would break the password on the file just to go into it and remove some named of checkboxes, so I'm trying to figure out how this could have happened. Anyone ever seen this kind of thing before?
By the way, this was not the only checkbox this had happened to. It was like this on 4 or 5 others -- all were on the same page of a MultiPage UserForm.
I unlocked the code and clicked the button to open that UserForm, and it failed on a line in the Initialize sub. The line was setting a checkbox to True. I looked at the Properties of that checkbox, and discovered that the Name was missing! Take a look at the image. You'll see on the left, next to (Name), there is nothing.
I can assure you, every single checkbox had a name when I released the file publicly. I seriously doubt any of my users would break the password on the file just to go into it and remove some named of checkboxes, so I'm trying to figure out how this could have happened. Anyone ever seen this kind of thing before?
By the way, this was not the only checkbox this had happened to. It was like this on 4 or 5 others -- all were on the same page of a MultiPage UserForm.