Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Run macro in another Excel workbook

Is there a way in VB to run a macro or function from another Excel workbook?

If so how can I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Run macro in another Excel workbook

application.run "myBook.xls!myMacro"

http://msdn2.microsoft.com/en-us/lib...ffice.10).aspx
--
HTH...

Jim Thomlinson


"pokdbz" wrote:

Is there a way in VB to run a macro or function from another Excel workbook?

If so how can I do this?

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
Naming a new Excel workbook in a macro GLS Excel Worksheet Functions 2 November 25th 06 11:18 PM
Macro that saves excel workbook as PDF?? mydogpeanut Excel Discussion (Misc queries) 1 May 25th 06 08:56 PM
excel loads another workbook to run the macro... micmacuk Excel Discussion (Misc queries) 2 April 25th 06 10:47 PM
Help:Running a macro in one excel workbook from another workbook R Kapoor Setting up and Configuration of Excel 3 January 13th 06 05:11 AM
Excel - open a new workbook with "own" macro Danny Excel Worksheet Functions 3 August 24th 05 06:51 PM


All times are GMT +1. The time now is 12:57 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"