View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Execute a sub in a different project

dim otherworkbook as workbook

set otherworkbook = workbooks("yourothernamehere.xls")

application.run "'" & otherworkbook.name & "'!macronamehere"



Antonio wrote:

How do I run a sub that is declared as public in a different open workbook
(project)?

Thanks,

Antonio


--

Dave Peterson