Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I call a sub from a different workbook? Can it be private?
|
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No it mus be public and in a standrad code modele
Use Application.Run "book2.xls!test_msgbox" -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "MikeH2" wrote in message ... How do I call a sub from a different workbook? Can it be private? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bob, interestingly Private subs are callable by Run.
Run seems not to play by the rules, so to speak. -- Tim Zych SF, CA "Bob Phillips" wrote in message ... No it mus be public and in a standrad code modele Use Application.Run "book2.xls!test_msgbox" -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "MikeH2" wrote in message ... How do I call a sub from a different workbook? Can it be private? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Tim,
So it does. That will teach me to assume. -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Tim Zych" <tzych@NOSp@mE@RTHLINKDOTNET wrote in message ... Bob, interestingly Private subs are callable by Run. Run seems not to play by the rules, so to speak. -- Tim Zych SF, CA "Bob Phillips" wrote in message ... No it mus be public and in a standrad code modele Use Application.Run "book2.xls!test_msgbox" -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "MikeH2" wrote in message ... How do I call a sub from a different workbook? Can it be private? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reference workbook name to cell reference | Excel Programming | |||
Workbook reference | Excel Programming | |||
Reference workbook name | Excel Worksheet Functions | |||
Reference different workbook | Excel Programming | |||
Reference code in another workbook from a calling workbook | Excel Programming |