MarshmallowMatie
New Member
- Joined
- Jun 29, 2023
- Messages
- 2
- Office Version
- 2019
- Platform
- Windows
I have a workbook add-in saved as 'Generate Report.xlam' that I want to automatically generate reports. I have all of the code for that in the UserForm objects. I have managed to get this setup working with a customUI RIbbon and buttons that call subs in the ThisWorkbook object which open the UserForms but for some reason after changing something that I do not quite remember it gives me this error:
My Add-In Project contains:
In the ThisWorkbook code I have:
My XML for the customUI is:
I used Office RibbonX Editor to inject the XML into the Add-in. I have enabled all macros in the settings and set the current add-in's location to a trusted location in the Trust Center.
If anyone could help resolve my issue of my UserForms not opening that would be much appreciated. (On an unrelated note just to make it look cleaner is there anyway to remove the sheet objects to the add-in)
My Add-In Project contains:
In the ThisWorkbook code I have:
My XML for the customUI is:
I used Office RibbonX Editor to inject the XML into the Add-in. I have enabled all macros in the settings and set the current add-in's location to a trusted location in the Trust Center.
If anyone could help resolve my issue of my UserForms not opening that would be much appreciated. (On an unrelated note just to make it look cleaner is there anyway to remove the sheet objects to the add-in)