LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default open Excel workbook from another workbook

Rachel,

This should do it for a general macro. I'm not sure that parameters make any
sense for the autoopen macro.

Sub RunOtherBook()

Workbooks.Open ("Pathtoyourfile")
Application.Run "Yourfilename!Yourmacroname", parameter1, parameter2

End Sub

Robin Hammond
www.enhanceddatasystems.com
Check out our XspandXL add-in


"rachel" wrote in message
...
Hi
I have an excel workbook that starts series of macros on work_open. Now
I have to open this workbook from another one, and to activate my
original workbook with paramers.
How can I Transfer a parater before open?
thanks



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



 
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
How to: Open closed workbook/Search data tables/Return data to open workbook Hugh Adams Excel Discussion (Misc queries) 0 August 18th 10 02:04 PM
how do i open a data workbook when i open a timesheet workbook [email protected] uk Excel Discussion (Misc queries) 2 January 4th 09 04:50 PM
my colors change in my workbook when I open another workbook Jeff Excel Discussion (Misc queries) 0 December 29th 05 06:36 PM
Importing Data from unopened Workbook into an open Workbook GrayesGhost Excel Discussion (Misc queries) 0 March 5th 05 11:25 PM
What commands do you use to name a workbook, save a workbook,open a workbook Steven R. Berke Excel Programming 1 July 24th 03 11:37 PM


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