Reference Addin Module from sheet code

  • Thread starter Thread starter zSplash
  • Start date Start date
Z

zSplash

I try to reference MyAddin.MyModule.MySub from another worksheet, which has
references to MyAddin, but as I step through the code, it simply "passes"
the code without running MySub (although the intellisense helps me spell out
entire reference). Do I need a "!" or something? Puzzling to me, since it
often works, in other cases.

TIA
 
Hi zSplash,

This is the syntax

Application.Run ("MyAddin.xla!MySub")


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Thanks, Bob.

st.

Bob Phillips said:
Hi zSplash,

This is the syntax

Application.Run ("MyAddin.xla!MySub")


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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

Back
Top