I’m looking for a code to trigger a macro located in a different workbook.
The current code I’m using is..
Where ‘Main’ is the macro that I want to trigger, looks like ‘Main’ is set up as Public Sub in the ‘Data Lookup’ workbook but there are other Private Sub located… Private Sub Dump(), Private Sub Login(), Private Sub Logout().![]()
Application.Run ("'Data Lookup.xlsm'!Main")
My question is does above Application.Run code trigger all stated Private Sub? If not what code should I use to trigger Public sub and all Private Subs?
Thanks!
Bookmarks