PC Review


Reply
Thread Tools Rate Thread

Default template management problem

 
 
Paul_B
Guest
Posts: n/a
 
      5th Dec 2006
Hi,

I'm new to Excel, '03. I've set up a default template, book.xlt,
in the xlstart folder, and excel is reading it properly.

Now I want to add some macros. Problem is, when I open the VB
editor, Insert a Module, then try to save it, the VB editor
prompts me to save it as a new file rather than part of book.xlt.
If I try to overwrite book.xlt, of course it won't let me because
that file is still open in excell; if I try to first close that
file the VB editor closes with it. So I'm stuck.

Obviously I'm missing something basic.

Thanks,
p.
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      5th Dec 2006
Pauk

Close Excel and workbooks.

Using Windows Explorer browse to the xlstart folder and open book.xlt from
there.

It will open as book.xlt(not *.xls)

Make your changes and then save.

OR just open in the regular manner, make your changes then File>Save As>File
Type>template(*.xlt)

Overwrite the original book.xlt


Gord Dibben MS Excel MVP

On Tue, 5 Dec 2006 13:51:12 -0500, Paul_B <pb_public-(E-Mail Removed)>
wrote:

>Hi,
>
>I'm new to Excel, '03. I've set up a default template, book.xlt,
>in the xlstart folder, and excel is reading it properly.
>
>Now I want to add some macros. Problem is, when I open the VB
>editor, Insert a Module, then try to save it, the VB editor
>prompts me to save it as a new file rather than part of book.xlt.
>If I try to overwrite book.xlt, of course it won't let me because
>that file is still open in excell; if I try to first close that
>file the VB editor closes with it. So I'm stuck.
>
>Obviously I'm missing something basic.
>
>Thanks,
>p.


 
Reply With Quote
 
Arvi Laanemets
Guest
Posts: n/a
 
      5th Dec 2006
Hi

You don't need to save in VBA editor anything - this feature there is meant
for export of code. Simply write your code and close VBA editor. But don't
forget to save your workbook afterwards - it is when all your changes in
code are saved too.


Arvi Laanemets



"Paul_B" <pb_public-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I'm new to Excel, '03. I've set up a default template, book.xlt,
> in the xlstart folder, and excel is reading it properly.
>
> Now I want to add some macros. Problem is, when I open the VB
> editor, Insert a Module, then try to save it, the VB editor
> prompts me to save it as a new file rather than part of book.xlt.
> If I try to overwrite book.xlt, of course it won't let me because
> that file is still open in excell; if I try to first close that
> file the VB editor closes with it. So I'm stuck.
>
> Obviously I'm missing something basic.
>
> Thanks,
> p.



 
Reply With Quote
 
Paul_B
Guest
Posts: n/a
 
      5th Dec 2006
On Tue, 05 Dec 2006 10:59:53 -0800, Gord Dibben wrote:

> Pauk
>
> Close Excel and workbooks.
>
> Using Windows Explorer browse to the xlstart folder and open book.xlt from
> there.
>
> It will open as book.xlt(not *.xls)
>
> Make your changes and then save.
>
> OR just open in the regular manner, make your changes then File>Save As>File
> Type>template(*.xlt)
>
> Overwrite the original book.xlt
>
> Gord Dibben MS Excel MVP
>
> On Tue, 5 Dec 2006 13:51:12 -0500, Paul_B <pb_public-(E-Mail Removed)>
> wrote:
>
>>Hi,
>>
>>I'm new to Excel, '03. I've set up a default template, book.xlt,
>>in the xlstart folder, and excel is reading it properly.
>>
>>Now I want to add some macros. Problem is, when I open the VB
>>editor, Insert a Module, then try to save it, the VB editor
>>prompts me to save it as a new file rather than part of book.xlt.
>>If I try to overwrite book.xlt, of course it won't let me because
>>that file is still open in excell; if I try to first close that
>>file the VB editor closes with it. So I'm stuck.
>>
>>Obviously I'm missing something basic.
>>
>>Thanks,
>>p.



Thanks much, Gord. Using this method I was able to save the VB
work with no problem. Now to get my macro to work.

p.
 
Reply With Quote
 
Paul_B
Guest
Posts: n/a
 
      5th Dec 2006
On Tue, 5 Dec 2006 21:08:56 +0200, Arvi Laanemets wrote:

> Hi
>
> You don't need to save in VBA editor anything - this feature there is meant
> for export of code. Simply write your code and close VBA editor. But don't
> forget to save your workbook afterwards - it is when all your changes in
> code are saved too.
>
> Arvi Laanemets
>
> "Paul_B" <pb_public-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>>
>> I'm new to Excel, '03. I've set up a default template, book.xlt,
>> in the xlstart folder, and excel is reading it properly.
>>
>> Now I want to add some macros. Problem is, when I open the VB
>> editor, Insert a Module, then try to save it, the VB editor
>> prompts me to save it as a new file rather than part of book.xlt.
>> If I try to overwrite book.xlt, of course it won't let me because
>> that file is still open in excell; if I try to first close that
>> file the VB editor closes with it. So I'm stuck.
>>
>> Obviously I'm missing something basic.
>>
>> Thanks,
>> p.



Thanks. For some reason I couldn't get this to work, so I did it
the long way, by opening the template directly.

p.
 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      5th Dec 2006
Paul

Apologies for the "Pauk"

Gord


On Tue, 5 Dec 2006 18:09:04 -0500, Paul_B <pb_public-(E-Mail Removed)>
wrote:

>On Tue, 05 Dec 2006 10:59:53 -0800, Gord Dibben wrote:
>
>> Pauk
>>
>> Close Excel and workbooks.
>>
>> Using Windows Explorer browse to the xlstart folder and open book.xlt from
>> there.
>>
>> It will open as book.xlt(not *.xls)
>>
>> Make your changes and then save.
>>
>> OR just open in the regular manner, make your changes then File>Save As>File
>> Type>template(*.xlt)
>>
>> Overwrite the original book.xlt
>>
>> Gord Dibben MS Excel MVP
>>
>> On Tue, 5 Dec 2006 13:51:12 -0500, Paul_B <pb_public-(E-Mail Removed)>
>> wrote:
>>
>>>Hi,
>>>
>>>I'm new to Excel, '03. I've set up a default template, book.xlt,
>>>in the xlstart folder, and excel is reading it properly.
>>>
>>>Now I want to add some macros. Problem is, when I open the VB
>>>editor, Insert a Module, then try to save it, the VB editor
>>>prompts me to save it as a new file rather than part of book.xlt.
>>>If I try to overwrite book.xlt, of course it won't let me because
>>>that file is still open in excell; if I try to first close that
>>>file the VB editor closes with it. So I'm stuck.
>>>
>>>Obviously I'm missing something basic.
>>>
>>>Thanks,
>>>p.

>
>
>Thanks much, Gord. Using this method I was able to save the VB
>work with no problem. Now to get my macro to work.
>
>p.


Gord Dibben MS Excel MVP
 
Reply With Quote
 
Paul_B
Guest
Posts: n/a
 
      6th Dec 2006
On Tue, 05 Dec 2006 15:33:48 -0800, Gord Dibben wrote:

> Paul
>
> Apologies for the "Pauk"
>
> Gord
>


No problem. I've been working such long days that I don't even
think I noticed it.

p.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Template Management Michael Microsoft Word Document Management 2 5th Mar 2009 12:17 PM
Default Template Problem The Wes Microsoft Word Document Management 6 13th Feb 2009 07:38 AM
Template hierarchy and customize the default word template =?Utf-8?B?VGVtcGxhdGUgaGllcmFyY2h5IGFuZCBjdXN0b21p Microsoft Word Document Management 5 10th Jul 2006 09:15 AM
Orders management template =?Utf-8?B?aG9iYmVy?= Microsoft Access 0 17th Feb 2006 04:08 PM
Excel template to load automatically as the default template? =?Utf-8?B?RGF2aWQ=?= Microsoft Excel Misc 1 21st Mar 2005 12:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:43 AM.