# my WordML source file has a working VB macro
# the XSL output file generated with WML2XSLT.EXE includes this entry:
w:macrosPresent="yes"
# I then open from Word 2003 an XML data file and apply the XSL, I answer
yes to the Security Warning to enable macros and the transformation completes
as expected except the resulting file doesn't contain my macro (why not?!)
# any ideas what I need to do in order for the resulting file to have a copy
of my macro? is it correct to assume my macro code is also contained in my
XSL file?

Thanks!

RE: XML seed file, "lost" VB macro and WML2XSLT.EXE by mg2468

mg2468
Mon Feb 27 15:03:27 CST 2006

I found that if I implement this same procedure by using a macro I do get the
expected results, this is, unlike using the Word UI.

"mg2468" wrote:

> # my WordML source file has a working VB macro
> # the XSL output file generated with WML2XSLT.EXE includes this entry:
> w:macrosPresent="yes"
> # I then open from Word 2003 an XML data file and apply the XSL, I answer
> yes to the Security Warning to enable macros and the transformation completes
> as expected except the resulting file doesn't contain my macro (why not?!)
> # any ideas what I need to do in order for the resulting file to have a copy
> of my macro? is it correct to assume my macro code is also contained in my
> XSL file?
>
> Thanks!