Template programming

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got a dot that does some search and replace on the doc that was based
upon said dot. Works fine. When I open the doc a vba form that is in the
dot shows and after entering some vals it does its work on the doc. I want
to be able to save the doc so other users can use it but I'd rather not
deploy the dot. It seems the only way it works is on my machine, becasue the
doc "sees" the dot.

How do I deploy the doc without the dot? I thought it was some kind of
attaching but I'm spinning my wheels. Any help greatly appreciatied.
 
Although you can save macros and userforms in Word documents, the
existence of macro viruses has forced Microsoft to make Word extremely
suspicious of documents that contain macros. Basically you have two
choices:

1. Get a certificate from Verisign or Thawte (or maybe your company
has a certificate server) and digitally sign the code. See
http://support.microsoft.com/kb/307731 for instructions. Each user
will have to accept the certificate once.

2. When you distribute the document, instruct users that they have to
go to Tools > Macro > Security and set the level to Medium. Each time
they open your document, they'll see a scary warning about macro
viruses, and then they should click the Enable Macros button in the
message box so your macro will be allowed to run. If they click the
Disable button, or if they have the security level set to High, the
macro simply won't run.

If you decide that one of these is acceptable, you can use the
Organizer (Tools > Macro > Macros > Organizer) to copy the modules
containing the macro and the userform from the template to the
document.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

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

Back
Top