Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to have a macro run a sub in another workbook, but I keep getting
an error. I use: Application.Run "FAMOUS Intermediate.xls!LinksToValues_All" but it tells me it can't be found. The wb is open and there are no typos. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Try it this way: Application.Run "'FAMOUS Intermediate.xls'!LinksToValues_All" -- Hope that helps. Vergel Adriano "san-avsc" wrote: I'm trying to have a macro run a sub in another workbook, but I keep getting an error. I use: Application.Run "FAMOUS Intermediate.xls!LinksToValues_All" but it tells me it can't be found. The wb is open and there are no typos. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi san,
Could you check wether sub LinksToValues_All is not a private sub in workbook 'FAMOUS Intermediate.xls' module.? Change private sub to sub -- Regards, Halim "Vergel Adriano" wrote: Hi, Try it this way: Application.Run "'FAMOUS Intermediate.xls'!LinksToValues_All" -- Hope that helps. Vergel Adriano "san-avsc" wrote: I'm trying to have a macro run a sub in another workbook, but I keep getting an error. I use: Application.Run "FAMOUS Intermediate.xls!LinksToValues_All" but it tells me it can't be found. The wb is open and there are no typos. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It's not a private sub. Thanks though.
"Halim" wrote: Hi san, Could you check wether sub LinksToValues_All is not a private sub in workbook 'FAMOUS Intermediate.xls' module.? Change private sub to sub -- Regards, Halim "Vergel Adriano" wrote: Hi, Try it this way: Application.Run "'FAMOUS Intermediate.xls'!LinksToValues_All" -- Hope that helps. Vergel Adriano "san-avsc" wrote: I'm trying to have a macro run a sub in another workbook, but I keep getting an error. I use: Application.Run "FAMOUS Intermediate.xls!LinksToValues_All" but it tells me it can't be found. The wb is open and there are no typos. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That did it - thanks!
"Vergel Adriano" wrote: Hi, Try it this way: Application.Run "'FAMOUS Intermediate.xls'!LinksToValues_All" -- Hope that helps. Vergel Adriano "san-avsc" wrote: I'm trying to have a macro run a sub in another workbook, but I keep getting an error. I use: Application.Run "FAMOUS Intermediate.xls!LinksToValues_All" but it tells me it can't be found. The wb is open and there are no typos. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
calling subs | Excel Programming | |||
Calling subs from different workbooks | Excel Programming | |||
calling subs | Excel Programming | |||
calling subs, Doesn't seem to run fisrt time? | Excel Programming | |||
calling private subs | Excel Programming |