PC Review


Reply
Thread Tools Rate Thread

Assigning a template to an existing file?

 
 
Paul_B
Guest
Posts: n/a
 
      8th Dec 2006
Hi. I've got a bad feeling about this one.

I have a .xls file that was exported from OpenOffice. As such, it
lists no base template.

I would like to assign my normal book.xlt to the file, but it
seems excel lacks this functionality, unlike Word.

I guess if it can't be done I could copy sheet by sheet into a
new file? It happens to be a fairly complex file.

I'm in Excel '03, on Windows XP.

Thanks,
p.
 
Reply With Quote
 
 
 
 
Nick Hodge
Guest
Posts: n/a
 
      8th Dec 2006
Paul

I'm sure I don't fully understand what you ask, but providing you have any
file in Excel as you want it, you can save the file as book.xlt in xlStart
and it will act as the template for all new workbooks...you may also need a
single-sheeted workbook called sheet.xlt in the same folder which is the
template for any sheets added to existing workbooks

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(E-Mail Removed)DTHIS
www.nickhodge.co.uk


"Paul_B" <pb_public-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi. I've got a bad feeling about this one.
>
> I have a .xls file that was exported from OpenOffice. As such, it
> lists no base template.
>
> I would like to assign my normal book.xlt to the file, but it
> seems excel lacks this functionality, unlike Word.
>
> I guess if it can't be done I could copy sheet by sheet into a
> new file? It happens to be a fairly complex file.
>
> I'm in Excel '03, on Windows XP.
>
> Thanks,
> p.


 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      8th Dec 2006
Paul,

Your question doesn't make a lot of sense (at least to Nick and me).

Presumably, having copied it from OO you can use it within Excel. If you
want to add macros to it now, they would just go in this new Excel workbook.
Any functionality missing? Is there something that you want to do with it
that you can't see how?

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Paul_B" <pb_public-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi. I've got a bad feeling about this one.
>
> I have a .xls file that was exported from OpenOffice. As such, it
> lists no base template.
>
> I would like to assign my normal book.xlt to the file, but it
> seems excel lacks this functionality, unlike Word.
>
> I guess if it can't be done I could copy sheet by sheet into a
> new file? It happens to be a fairly complex file.
>
> I'm in Excel '03, on Windows XP.
>
> Thanks,
> p.



 
Reply With Quote
 
Paul_B
Guest
Posts: n/a
 
      8th Dec 2006
On Fri, 8 Dec 2006 09:59:29 -0000, Bob Phillips wrote:

> Paul,
>
> Your question doesn't make a lot of sense (at least to Nick and me).
>
> Presumably, having copied it from OO you can use it within Excel. If you
> want to add macros to it now, they would just go in this new Excel workbook.
> Any functionality missing? Is there something that you want to do with it
> that you can't see how?



Hi Bob and Nick. Sorry for not being clear.

The new doc, which OO outputted, does not have a template it is
based on. I suppose all formatting is hard coded, with no styles
and no macros.

I want to take advantage of the styles and macros that I will
keep in the default template. Thus, I need to know how to base
this new file on an existing default template.

Probably the longhand way - copying sheet by sheet into a new
doc, is the way to go. But if there's an automatic way to do it
I'd like to know.

Thanks,
p.
--
MS Office '03
 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      8th Dec 2006
Paul,

I know of now way to get an existing document to inherit a template style,
but presumably there are some style characteristics that you want to pick
up, font, etc. If you tell us what they are, I am sure someone will knock up
some code for you.

As for macros, you can just export the macro modules from the template, then
import them into the new workbook.

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"Paul_B" <pb_public-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Fri, 8 Dec 2006 09:59:29 -0000, Bob Phillips wrote:
>
>> Paul,
>>
>> Your question doesn't make a lot of sense (at least to Nick and me).
>>
>> Presumably, having copied it from OO you can use it within Excel. If you
>> want to add macros to it now, they would just go in this new Excel
>> workbook.
>> Any functionality missing? Is there something that you want to do with it
>> that you can't see how?

>
>
> Hi Bob and Nick. Sorry for not being clear.
>
> The new doc, which OO outputted, does not have a template it is
> based on. I suppose all formatting is hard coded, with no styles
> and no macros.
>
> I want to take advantage of the styles and macros that I will
> keep in the default template. Thus, I need to know how to base
> this new file on an existing default template.
>
> Probably the longhand way - copying sheet by sheet into a new
> doc, is the way to go. But if there's an automatic way to do it
> I'd like to know.
>
> Thanks,
> p.
> --
> MS Office '03



 
Reply With Quote
 
Paul_B
Guest
Posts: n/a
 
      8th Dec 2006
On Fri, 8 Dec 2006 14:35:37 -0000, Bob Phillips wrote:

> Paul,
>
> I know of now way to get an existing document to inherit a template style,
> but presumably there are some style characteristics that you want to pick
> up, font, etc. If you tell us what they are, I am sure someone will knock up
> some code for you.
>
> As for macros, you can just export the macro modules from the template, then
> import them into the new workbook.



I have no styles yet, and only one macro. But I'm thinking ahead,
to when I will add organizing things to the template and will
want them automatically reflected in the file. I think I'm going
to have to copy the file over manually to a new blank file.

Thanks,
p.
--
MS Office '03
 
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
apply new template to existing file grammatim Microsoft Word Document Management 3 8th Jun 2009 11:16 PM
Update existing excel file on template change =?Utf-8?B?R2lieg==?= Microsoft Excel Misc 1 2nd Feb 2007 06:34 PM
How do I populate the Label template W\an existing CSV file? =?Utf-8?B?c3VwZXJnaXJs?= Microsoft Word Document Management 2 7th Feb 2006 09:29 PM
Applying a template to an existing file Frank Moore Microsoft Excel Discussion 1 9th Nov 2005 09:46 PM
How do you download an online PP template to an existing file? =?Utf-8?B?bW9tdG9yeWFu?= Microsoft Powerpoint 1 24th Aug 2005 06:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:04 PM.