It will work as long as you use a late bound variable to hold the Application instance (i.e. a Variant or Object type). So this will work
whereas this will not![]()
Dim fr, fc, lr, lc Dim app Set app = Application app.Run "Personal.xlsb!counter", fr, fc, lr, lc
![]()
Dim fr, fc, lr, lc Application.Run "Personal.xlsb!counter", fr, fc, lr, lc
Bookmarks