F Fan924 Jun 10, 2009 #1 When I change "Sub WBMoved" to "Private Sub WBMoved" Can it be accessed from other worbooks?
H Homey Jun 10, 2009 #2 yes if you use "run" Sub test_run() Run "Book1.xls!SubInOtherWB" End Sub no if you use reference. Sub test_callByName() SubInOtherWB End Sub | When I change "Sub WBMoved" to | "Private Sub WBMoved" | Can it be accessed from other worbooks?
yes if you use "run" Sub test_run() Run "Book1.xls!SubInOtherWB" End Sub no if you use reference. Sub test_callByName() SubInOtherWB End Sub | When I change "Sub WBMoved" to | "Private Sub WBMoved" | Can it be accessed from other worbooks?