V
Vivian Carroll
Hi,
I'm repeating below a message that I posted a few days ago in the vba
newsgroup but got no response.
I created a template in W2000 that is used as an Add-in. It displays a
toolbar that has a choice for "Create Doc". When the Create Doc button is
clicked, a macro runs that 1) creates a new document from Normal.dot, 2)
inserts AutoText containing the procedure format, and 3) copies all of the
styles from the add-in template into the document. This works fine in W2000.
(The client did not want to access the template via File|New.)
When I use the same add-in template in W2002, the Create Doc macro works
fine for everything except the bullet styles. They get modified within the
template itself (i.e., when I open the template in W2002, the styles now
have different tab locations). They get modified again when the macro runs
that copies the styles from the template to the document -- the bullet part
of the style definition gets stripped out. As a work-around, I added to the
macro to re-define the bullet styles after copying them into the document.
My question is why is W2002 changing the bullet style definitions and what
is a better way to fix the problem?
TIA,
Vivian Carroll
I'm repeating below a message that I posted a few days ago in the vba
newsgroup but got no response.
I created a template in W2000 that is used as an Add-in. It displays a
toolbar that has a choice for "Create Doc". When the Create Doc button is
clicked, a macro runs that 1) creates a new document from Normal.dot, 2)
inserts AutoText containing the procedure format, and 3) copies all of the
styles from the add-in template into the document. This works fine in W2000.
(The client did not want to access the template via File|New.)
When I use the same add-in template in W2002, the Create Doc macro works
fine for everything except the bullet styles. They get modified within the
template itself (i.e., when I open the template in W2002, the styles now
have different tab locations). They get modified again when the macro runs
that copies the styles from the template to the document -- the bullet part
of the style definition gets stripped out. As a work-around, I added to the
macro to re-define the bullet styles after copying them into the document.
My question is why is W2002 changing the bullet style definitions and what
is a better way to fix the problem?
TIA,
Vivian Carroll