Call macro in worksheet from userform?

  • Thread starter Thread starter Ed from AZ
  • Start date Start date
E

Ed from AZ

How do I call and run a macro contained in worksheet code from a
userform button code? I tried variations of
Run wkb("MASTER!SetNewHeader")
but nothing worked.

Ed
 
Is the userform part of the spreadsheet or is it part of an addin or a
seperate spreadsheet? It's hard to tell from your post.
 
Sorry, Jim. The form is in the same workbook as the worksheet and
macro.

Ed
 

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