Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel crashes when opening a template from VBA 2007

I have a template called Timetable.xltx in the folder
C:\Users\Andy\Documents\@Templates. The folder has been added to Excel as a
trusted location 'User Templates'.

When I create a file based on the template from the Excel menu File New
[Select Template] Create it opens OK.

However when I put the following code
Workbooks.Add "

into a workbook it causes Excel to crash with the message 'Microsoft Excel
has stopped working'



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
xls file works fine in Excel 2000 and 2007 but crashes on opening in 2003 gromit12 Excel Discussion (Misc queries) 2 November 6th 07 09:30 PM
Excel crashes when opening word or new email ckotas Excel Discussion (Misc queries) 4 October 22nd 07 02:46 AM
Excel crashes when opening file Jim Jackson Excel Programming 4 March 15th 07 12:29 PM
Excel 2003 crashes when opening JLesemann Excel Discussion (Misc queries) 2 September 8th 05 09:57 PM
Excel 2000 crashes when downloading from MS Template Gallery Ladybug Excel Discussion (Misc queries) 0 February 25th 05 06:05 PM


All times are GMT +1. The time now is 02:57 AM.

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"