Forum Discussion
Anthgrim
Apr 20, 2021Copper Contributor
Mac OS UserForm Alternative
I'm looking for an alternative add-ins to create user forms in VBA for Mac, since the Microsoft team removed it from the recent versions for Mac OS. Do you guys have any suggestions?
pcsrvc
Jul 08, 2022Copper Contributor
JimGMac I tested the code in the link you posted but it did not work. I get an error that variable showform is not declared.
Still looking for a solution.
JimGMac
Jul 09, 2022MVP
You can generate user forms via code. Instructions and example code are given in the link below. In the Visual Basic Editor (VBE) be sure to use the Tools menu > References and set these References before running the example code:
- Microsoft Visual Basic for Applications Extensibility 5.3
Microsoft Forms 2.0 Object Library
Here's more example code
- Andrew_Duncan54Jun 07, 2024Copper ContributorTo get this to work you also have to go to "Excel>Preferences>Secutity>", under "Developer Macro Setting", tick "Trust access to the VBA project object model".
- michaelmich66Oct 20, 2023Copper Contributor
Hello
after following the. instructions I receive this message error :
For N = 1 To ActiveWorkbook.VBProject.VBComponents.Count.
unfortunately I don't get any knowledges in VBA or computer language.
could you please help me.
for my project, i m looking for 2 things :
create an user form or access to the option formular as tool on my ribbon
- Jonathan_HardisDec 29, 2023Copper Contributor
michaelmich66 Did you remember to "Trust access to the VBA project object module" in Excel Preferences/Security/Developer Macro Settings?