separate code and document

C

Cindy M -WordMVP-

Hi Jan,
Uh, the macros are binary encoded in the XML.... anybody know how to put
them inside on the fly?
You need to dump in the entire VBA section. There's no way to "design"
macros "as you go" when creating an XML document. That means you'll need to
figure out each permutation you may need, save the document (with the VBA
project) as XML, then extract it and put it in your "XML code database".

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
J

Jan Kucera

Well this is bad, because I need to put a path into the macro, which is
different for every client.....

Maybe I could save it in some document property and then load it from the
macro...
 

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