P
PeterHS
L.s,
I have a .dotm file with macro's, buidingblocks, changes in the UI, etc. I
placed this in the startup folder from word. When i start word all is
availible and works fine.
I placed it not in Normal.dotm fot each user, this is a read-only file wich
all users use so its easy to maintain.
I recorded a macro to place a buidingblock in the header. It says:
activedocument.atachedtemplate.buildingblocks("name")....
But when I run the macro from the UI I get a error.
I could replace atachedtemplate with something like temlates("name"). But I
like to keep the macro simple and without fixed filenames.
Is there a way to let the macro look in all the open templates (like it
works when I look for a buildingblock "by hand"), without programming all
sorts of loops. Something like "all-templates", "open-templates",
"active-templates"
Thanks
Peter
I have a .dotm file with macro's, buidingblocks, changes in the UI, etc. I
placed this in the startup folder from word. When i start word all is
availible and works fine.
I placed it not in Normal.dotm fot each user, this is a read-only file wich
all users use so its easy to maintain.
I recorded a macro to place a buidingblock in the header. It says:
activedocument.atachedtemplate.buildingblocks("name")....
But when I run the macro from the UI I get a error.
I could replace atachedtemplate with something like temlates("name"). But I
like to keep the macro simple and without fixed filenames.
Is there a way to let the macro look in all the open templates (like it
works when I look for a buildingblock "by hand"), without programming all
sorts of loops. Something like "all-templates", "open-templates",
"active-templates"
Thanks
Peter