Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default opening a window via VBA

Anyone know how to open a 2nd workbook in VB? I also need it to close when
the original workbook closes
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default opening a window via VBA

You can use the auto_close() function in VB to close automatically the
workbook when you close the parent once. When do you want to open the 2nd
workbook ?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default opening a window via VBA

i would like to open it when the parent opens

"preymond" wrote:

You can use the auto_close() function in VB to close automatically the
workbook when you close the parent once. When do you want to open the 2nd
workbook ?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default opening a window via VBA

Please try Workbook_Open() and Workbook_BeforeClose events....

If this post helps click Yes
---------------
Jacob Skaria


"Lost" wrote:

i would like to open it when the parent opens

"preymond" wrote:

You can use the auto_close() function in VB to close automatically the
workbook when you close the parent once. When do you want to open the 2nd
workbook ?

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
Opening files in new window Steve M Excel Discussion (Misc queries) 3 March 5th 09 04:59 PM
Opening worksheet in new window Mike Tordoff Excel Discussion (Misc queries) 1 July 6th 07 07:46 PM
Hyperlinks opening in a new window. Dan H Setting up and Configuration of Excel 1 April 13th 07 12:13 AM
Workbooks opening in browser window Richard Excel Discussion (Misc queries) 0 January 17th 07 04:52 PM
Opening excel in a new window sebire Excel Discussion (Misc queries) 4 January 5th 07 04:32 PM


All times are GMT +1. The time now is 01:23 PM.

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

About Us

"It's about Microsoft Excel"