Running Protect Macro in a Macro

T

thecompnerd

I'm struggling to figure out how to run a protected Macro in one project from
a macro in another project that I created. I tried the "call" function, but
keep getting an error message "Run-time error '424': Object required".

The protected project is "Code128WordAddin" and the macro is
"ConvertToCode128".


Here is what the script looks like:


Sub SelectandConvert()
'
' SelectandConvert Macro
'
'
Selection.WholeStory
Call Code128WordAddin.Module1.ConvertToCode128
End Sub


Any guidance is appreciated.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top