Avatar of brothertruffle880
brothertruffle880
Flag for United States of America asked on

Excel 2013 - VBA Add-in - Newbie question - Can't see or run macros

Excel Add-in newbie question:
I have an Excel add in that I just loaded. TestofAddin.xlam
I want to run the macro "test" which is in a module1 in the add-in file. When I press Alt+8, I don't see the macro listed.
How can I run the macro called "test"?
VBAMicrosoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Noah

8/22/2022 - Mon
Martin Liss

It must start with just Sub or Function. In other words no "Private" or "Public".
ASKER CERTIFIED SOLUTION
John Korchok

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Noah

Hi there! :)

Macros and Subroutines without arguments in add-ins do not appear in the Macros dialog. But you can try out this code.

 Call TestofAddin.test(routine parameters)

Open in new window

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy