Hi All,
I've searched this forum and others without success solving this weird problem. It might be an Excel bug, but I'm hoping it's just something I'm doing wrong.
My fairly basic spreadsheet has two userforms. One works perfectly well but the other won't even load. It did when I first created it but now isn't recognised by the code.
Observed behaviour:
I've searched this forum and others without success solving this weird problem. It might be an Excel bug, but I'm hoping it's just something I'm doing wrong.
My fairly basic spreadsheet has two userforms. One works perfectly well but the other won't even load. It did when I first created it but now isn't recognised by the code.
Observed behaviour:
- The form appears to be correct in design and code windows (VBA editor)
- Form name appears to be recognised in the code because capitalisation "errors" are automatically corrected.
- Load(userform2) throws error 424 (object required). When hovering over the line in debug mode, it shows userform2 = <Object variable or With block variable not set>
- Set Frm = userform2 throws error 424 (object required). When hovering over the line in debug mode, it shows userform2 = <Object variable or With block variable not set>
- Dim Frm as New userform2 throws error 424 as well.
- exporting then importing the userform
- saving the excel sheet as a new file
- disabling then re-enabling the macros
- removing and reauthorising trusted locations and documents.
- repairing Office 365 (short and long versions)