converse a Word 2003 macro to Word 97

A

Anne Schouten

Is it possible to converse a vba Macro from Word 2003 to Word 97?

Anne Schouten
 
D

Doug Robbins - Word MVP

No conversion should be required under normal circumstances.

The only issue that I have come across is when trying to update links in a
document that was created in Word 2003 that is opened in Word 2007, in which
case, the links get changed and no longer work. That is, they no longer
work whether you are trying to update them with VBA or manually (using F9,
Print Preview, Automatically Update Links on Open, etc)

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
A

Anne Schouten

Doug, thank you for answering.
But I ment a conversion of Word 2003 to the older version Word 97.
I made a template with a lot of vba code in Word 2003. Someone would like to
use this template, but still works with Word 97, (because he works a lot
with a custom made database in Access 97).

Anne
 
D

Doug Robbins - Word MVP

Sorry, I misread the question.

Have you tried using the template on a machine running Word 97? Unless you
made use of the few new features that were introduced after Word 97, there
should be no problem.

Two of the new features that I am aware of are the Split() and Replace()
functions.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
A

Anne Schouten

Yes I tried using the template on a 97 machine. The macro cannot be used
(and the vba code is not visible).
I think the vba references (libraries) are the problem. In 2003 you cannot
choosee on older library and with Save as in an older version you loose the
macro.

Anne
 
A

Anne Schouten

I solved the problem myself.

With Word 2007 you can save a template to Word 97 without loosing the
macros. This is not possible with Word 2003.

After that I had only to make a few alterations to the vba code.



Anne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top