Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro Protection 1

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello,

I want to change the macro security in word 2000 using VB.
And I want also desactivate the AutoOpen properties of certain macro.

Is it possible ?

 
I gotta tell you, I'm a little hesitant about answering your question, because it came across sounding like you want to write another VBA virus. But, what you can do is look at msdn.microsoft.com. They explain the Office programming model, and your info should be found there.

Chip H.
 
to chiph:

I don't want to make a virus disabling the macro protection.
This is not my intentions.

I want to delete automatically macros that I have in my documents because I don't need it. These macros are reliable to a database which don't exist anymore.

Then, when I open one of these word document, a message appears saying that the relation don't work.
I just want to avoid this message.

Lord_fou

 
In Office97 it was called "VirusProtection", and it was a member of the Options object, which I believe belonged to the Application object (although it might also belong to the Document object).

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top