Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Templates in 2007

Hello,
I am trying to write a template (macro-enabled) for excel 2007. When
I try to open it I get an error stating that the file is either
corrupted or the file extension is not valid. I assume this is a
bug. Does anyone know a way around this. I am saving the template as
test.xltm. I have no problems during the save. It's only when I try
to use the template that I get this error.

thanks,
Andy
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Templates in 2007

Are you saving the file using something like this

ActiveWorkbook.SaveAs fileName:="myfile.xlst"

If so, you may need to add a fileformat

http://msdn.microsoft.com/en-us/library/bb241279.aspx

"Andrew" wrote:

Hello,
I am trying to write a template (macro-enabled) for excel 2007. When
I try to open it I get an error stating that the file is either
corrupted or the file extension is not valid. I assume this is a
bug. Does anyone know a way around this. I am saving the template as
test.xltm. I have no problems during the save. It's only when I try
to use the template that I get this error.

thanks,
Andy

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
Templates in Excel 2007 MReed Excel Discussion (Misc queries) 0 March 3rd 10 06:01 PM
Templates in Excel 2007 MReed Excel Discussion (Misc queries) 0 December 7th 09 08:13 PM
Workgroup templates in Excel 2007 hmm Setting up and Configuration of Excel 1 May 30th 08 04:38 PM
In Excel 2007,Where is the Dialog box,the templates,with???? Bren Excel Discussion (Misc queries) 2 April 30th 07 12:52 AM
accounting templates in MS excel 2007 Don Excel Discussion (Misc queries) 0 January 9th 07 10:06 PM


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