how can i call sub or function in vba code

  • Thread starter Thread starter xxx
  • Start date Start date
Call mySub

or with parameters

Call mySub(val1, "Text val")

if it is a function

myVal = myFunc(val1)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Hi XXX,
i request that how can i call sub or function in vba code

'=============>>
Public Sub Tester()

'your code
Call MyMacro
'possibly more code

End Sub
'<<=============
 

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