Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Problem with saving Excel Template opened in macro

Hi... I open an excel template inside a macro and when I go to save, it
overwrites the template instead of creating new file. When I open the
template from Windows, it saves as a file. Anyone know why it behaves
differently inside the macro?

Thanks -kelli
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Problem with saving Excel Template opened in macro

Instead of opening the template with the macro, create a new workbook
and use your template.
Workbooks.Add Template:="C:\YourTemplate.xlt"

HTH

Charles

KelliInCali wrote:
Hi... I open an excel template inside a macro and when I go to save, it
overwrites the template instead of creating new file. When I open the
template from Windows, it saves as a file. Anyone know why it behaves
differently inside the macro?

Thanks -kelli


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Problem with saving Excel Template opened in macro

Works perfectly... even a little faster I think. Thanks!!
-kelli


"Die_Another_Day" wrote:

Instead of opening the template with the macro, create a new workbook
and use your template.
Workbooks.Add Template:="C:\YourTemplate.xlt"

HTH

Charles

KelliInCali wrote:
Hi... I open an excel template inside a macro and when I go to save, it
overwrites the template instead of creating new file. When I open the
template from Windows, it saves as a file. Anyone know why it behaves
differently inside the macro?

Thanks -kelli



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
help in saving an excel file opened in IE Farooq Sheri Excel Discussion (Misc queries) 1 November 14th 09 01:13 AM
macro saving problem tweacle Excel Worksheet Functions 0 December 27th 05 12:29 PM
Template opened while being populated sanand13 Excel Programming 0 July 9th 04 03:18 AM
Problem with quitting Excel opened through automation Michelle Excel Programming 2 January 8th 04 06:54 PM
Template Wizard - "Saving to Database" Problem pam asar Excel Programming 2 August 5th 03 10:39 PM


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