How to convert 97-2003 word template to word2007 template?

M

mallialways

I have lot of word templates designed in 97-2003 office appliacation.
I need to convert all these into word 2007 macro enabled templates.When
i save the 97-2003 templates as 2007 template all the Macros are not
imported to 2007 template?
Is this is correct way? if not how can i achive the same?
 
B

Beth Melton

M

mallialways

Thanks for Reply,

In the Saveas type i am selecting .dotm extension, but macros are not
copied.

Details,

when i open the 97-2003 template macro runs and shows a form(Which has
some checkbox) which inserts a bookmarks in the document depending upon
user selected checkbox. I am closing the form and then saving the
document as .dotm file.

But the macro (form) is not copied to the .dotm file.

Thanks in Advance.
 
B

Beth Melton

If you are attempting to convert 97-2003 templates to the 2007 format then
are you *opening* the templates? Do you see the file name for the template
in your title bar after you open it? It sounds like you are creating a new
document based on the template and, as you found, that will not work.

Note that if you are double-clicking the template in an Exploring window to
open it you are creating a new document based on the template. You need to
right-click the template and then click Open to open the template for
editing and converting to the new file format.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Coauthor of Word 2007 Inside Out:
http://www.microsoft.com/MSPress/books/9801.aspx#AboutTheBook

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
M

mallialways

Yes, i was double-clicking on the template, as u said it creates a
document based on template.

Now i am able to convert the 97-2003 template to 2007 template by
right-clicking and opening the template in edit mode.

Thanks for ur Valuable Reply.

I have one more question :smile:

I am migrating vb and Word97-2003 automated system to vb and word2007
system.
The application basically creates word reports by taking the data from
vb front end application and the values from database.

I have changed all the dll reference(to point to office2007 dll’s) in
the application to create word2007 reports, and document creation also
happens smoothly, but when I open the document the word through an
error “file is corrupted”(Figure-1) when I click on OK it asks for
recovering the document(Figure-2). If i click on Yes my word report
opens with all the required data present in it.
(plz have a look at the attachments)

*My question is how i can identify unreadable content present in the
document?*

*Or*
*How i can programmatically pass through the above two errors? so that
my final document is opened after recovering the content*.


+-------------------------------------------------------------------+
|Filename: Error.doc |
|Download: http://www.tabletquestions.com/attachment.php?attachmentid=88|
+-------------------------------------------------------------------+
 
B

Beth Melton

I'm unable to view your attachments - are you using a web site to access the
newsgroups? But it sounds like you're seeing a message box indicating
something is corrupt in the document and another message box offering to
attempt to repair the document and I've seen both before. :)

Since this occurs when using a VB front end then I suggest posting your
question to one of the Office developer newsgroups since that's where the
gurus for this type of question hang out and someone there may be familiar
with the error you are encountering.

Please post all follow-up questions to the newsgroup. Requests for
assistance by email cannot be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Coauthor of Word 2007 Inside Out:
http://www.microsoft.com/MSPress/books/9801.aspx#AboutTheBook

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
M

mallialways

Hi
Beth Melton,

Yes, u got it correct. I have posted the question in the office
developmemt forum.

Thanks for all ur reply.
 
Top