to add a new add-in to the add-in menu (developer tab>add-ins), i execute the following:
Private Sub Workbook_Open()
Dim newAi As AddIn
Set newAi = Application.AddIns.Add(fileName:=ThisWorkbook.FullName, copyfile:=True)
this does not work for *.xlam files; however, this does work for *.xlsm files.
I have set trusted locations, and enabled the trust vba project check box.
has anyone experienced this? any solutions?
Private Sub Workbook_Open()
Dim newAi As AddIn
Set newAi = Application.AddIns.Add(fileName:=ThisWorkbook.FullName, copyfile:=True)
this does not work for *.xlam files; however, this does work for *.xlsm files.
I have set trusted locations, and enabled the trust vba project check box.
has anyone experienced this? any solutions?