Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Calling a sub from a different workbook

application.run "Myotherworkbook.xls!Mymacro"

assumes the other workbook is open.

--
Regards,
Tom Ogilvy



"jdcox1999" wrote:

How can I call a subroutine that is in another workbook, without using
a menu option?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing calling workbook name to called workbook DRK Excel Programming 7 May 6th 06 01:34 AM
Calling another workbook Patrick Simonds Excel Programming 5 April 3rd 06 06:29 PM
Reference code in another workbook from a calling workbook Datasort Excel Programming 1 January 4th 05 01:13 AM
What workbook is calling the function Pierre Laporte Excel Programming 2 July 15th 04 04:53 PM
calling sub from another workbook James[_9_] Excel Programming 1 October 14th 03 06:06 PM


All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"