Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Opening and saving a template ?

I am getting strange behaviour in Win 2000. When I double
click on the template it opens it as an XLS (renaming it)
and when I right-click and choose open, it opens it as
XLT. Is this normal?

Also, when I click save, sometimes it saves it as a
template and sometimes as an XLS.
Where does a macro go when I save it? Sometimes it just
saves and does not tell me where it put it and sometimes
it asks me for a folder and type. Also I noticed it
defaults to some Microsoft Template library which is NOT
where I want it.

I'm very confused about this strange behaviour with
templates.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Opening and saving a template ?

If you look at the microsoft excel template type in Folder Options, you will
see the default action is

is NEW and the definition if you edit that is [new("%1")]

This says to use the template as the basis for a new xls file.

If you select the file from Excel file open dialog and open it, then you are
opening the template for editing.

--
Regards,
Tom Ogilvy


David wrote in message
...
I am getting strange behaviour in Win 2000. When I double
click on the template it opens it as an XLS (renaming it)
and when I right-click and choose open, it opens it as
XLT. Is this normal?

Also, when I click save, sometimes it saves it as a
template and sometimes as an XLS.
Where does a macro go when I save it? Sometimes it just
saves and does not tell me where it put it and sometimes
it asks me for a folder and type. Also I noticed it
defaults to some Microsoft Template library which is NOT
where I want it.

I'm very confused about this strange behaviour with
templates.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Opening and saving a template ?


"David" wrote in message
...
I am getting strange behaviour in Win 2000. When I double
click on the template it opens it as an XLS (renaming it)
and when I right-click and choose open, it opens it as
XLT. Is this normal?


Yes, this is normal, and what should happen.


Also, when I click save, sometimes it saves it as a
template and sometimes as an XLS.


Surely, that depends upomn whether you have 'New'ed based upomn the
template, or opened the template?

Where does a macro go when I save it? Sometimes it just
saves and does not tell me where it put it and sometimes
it asks me for a folder and type.


A macro is stoired in the workbook that you spevcify, and is saved with it
when you save the workbook.What do you mean by it asks youy for a folder
and type, is this when you save it?

Also I noticed it
defaults to some Microsoft Template library which is NOT
where I want it.

The default directory for templates is the template directory, and Excel
will point at that directory if you specify a file type as a template. If
you don't want it there, such as Book.xlt which should be in XLStart, you
have to re-direct it./

Have a look at Tom Ogilvy's response to one of your earlier questions, lots
of possible suggestions for you to look at within that response which may
just as well apply here.

HTH

Bob


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 280
Default Opening and saving a template ?

If I right click on an Excel template, the top two options are New and Open,
in that order. New is in bold, indicating, as is the Windows standard, that
New is the default action -- that is, New is the action that occurs if the
object is "executed" -- double-clicked or selected then Enter pressed. New,
as has been said, opens a new workbook based upon the template, NOT the
template itself. On the other hand, Open opens the template itself. Use New
when you want a new workbook based on the template. Use Open when you want
to modify the template itself. (This usage of New and Open is consistent
within Excel also.)

--
Bob Kilmer


"David" wrote in message
...
I am getting strange behaviour in Win 2000. When I double
click on the template it opens it as an XLS (renaming it)
and when I right-click and choose open, it opens it as
XLT. Is this normal?

Also, when I click save, sometimes it saves it as a
template and sometimes as an XLS.
Where does a macro go when I save it? Sometimes it just
saves and does not tell me where it put it and sometimes
it asks me for a folder and type. Also I noticed it
defaults to some Microsoft Template library which is NOT
where I want it.

I'm very confused about this strange behaviour with
templates.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 280
Default Opening and saving a template ?

If I right click on an Excel template,

to be clear, I should have added "in Windows Explorer"

--
Bob Kilmer


"Bob Kilmer" wrote in message
...
If I right click on an Excel template, the top two options are New and

Open,
in that order. New is in bold, indicating, as is the Windows standard,

that
New is the default action -- that is, New is the action that occurs if the
object is "executed" -- double-clicked or selected then Enter pressed.

New,
as has been said, opens a new workbook based upon the template, NOT the
template itself. On the other hand, Open opens the template itself. Use

New
when you want a new workbook based on the template. Use Open when you want
to modify the template itself. (This usage of New and Open is consistent
within Excel also.)

--
Bob Kilmer


"David" wrote in message
...
I am getting strange behaviour in Win 2000. When I double
click on the template it opens it as an XLS (renaming it)
and when I right-click and choose open, it opens it as
XLT. Is this normal?

Also, when I click save, sometimes it saves it as a
template and sometimes as an XLS.
Where does a macro go when I save it? Sometimes it just
saves and does not tell me where it put it and sometimes
it asks me for a folder and type. Also I noticed it
defaults to some Microsoft Template library which is NOT
where I want it.

I'm very confused about this strange behaviour with
templates.







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Opening and saving a template ?

Thanks a lot, that makes it really clear!

-----Original Message-----
If I right click on an Excel template, the top two

options are New and Open,
in that order. New is in bold, indicating, as is the

Windows standard, that
New is the default action -- that is, New is the action

that occurs if the
object is "executed" -- double-clicked or selected then

Enter pressed. New,
as has been said, opens a new workbook based upon the

template, NOT the
template itself. On the other hand, Open opens the

template itself. Use New
when you want a new workbook based on the template. Use

Open when you want
to modify the template itself. (This usage of New and

Open is consistent within Excel also.)


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 and saving a workbook Chelsea_BOO17 Excel Discussion (Misc queries) 1 October 24th 07 07:11 PM
Saving a Template Dan Excel Discussion (Misc queries) 4 April 24th 07 01:54 PM
saving as a template Keith Excel Discussion (Misc queries) 1 April 15th 07 11:24 PM
saving template Marlis Excel Discussion (Misc queries) 3 September 10th 05 11:09 PM
Opening and saving textfile into XLS MicMast Excel Programming 1 August 4th 03 01:33 PM


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