Referencing across projects
Clara,
This runs the macro 'Test' in Book1.xls in the root of C
Sub runit()
Set wbTarget = Workbooks.Open("c:\book1.xls")
Application.Run (wbTarget.Name & "!test")
End Sub
You would probably want to include eror checking.
Mike
"clara" wrote:
Hi all,
How to reference a macro defined in another workbook?
Clara
--
thank you so much for your help
|