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: 13
Default How to start template with connected workbook

Hi,
I've developed a workbook wb1 with a connected workbook wb2. Wb2 is open
with VBA in the Workbook_Open():

Workbooks.Open(ThisWorkbook.Path & "\wb2.xls", 0, True)

Now I've changed wb1 into a template. When I now make a new workbook based
on the template the Workbook_Open() macro is executed. But now
ThisWorkbook.Path is empty! And the connected wb2 cannot be found.

What can I do to open wb2 in this situation?

Thanks for help,

Henk
 
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
default template Excel uses at start-up Mel New Users to Excel 3 November 1st 07 05:06 PM
How to open connected workbook with template hstijnen Excel Programming 0 October 13th 06 11:12 AM
Dropdown list connected to another workbook Pieman Excel Worksheet Functions 5 March 12th 06 09:35 PM
how do i start excel and have it use a template automatically? Vasant Nanavati Excel Programming 1 August 10th 05 08:45 PM
Anyne have a template for a start-up business plan? dbb Excel Discussion (Misc queries) 0 May 30th 05 11:35 PM


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