Creating a non-editable macro

M

M.L.Srinivas

Hi all,

I want to create a userform and want to have a shortcut on
the word toolbar.

I shall be able to distribute this as a program and the
user shouldn't be in a position to view the code or edit
it.

Any ideas.

Please help

M.L.Srinivas
 
H

Helmut Weber

Oops,

wrong mouse-click,

I'd say, pack all your stuff in a project,
protect the project,
"project, properties, protection"
and in addition have the user place
it in the startup folder.
You may in addition protect commandbars in many ways.
See

with activedocument.CommandBars("Test").Protection = ...

Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
"red.sys" & chr(64) & "t-online.de"
Word 2002, Windows 2000
 

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