Enable Macros & Disable Insert from code

G

Giri

Hi,

1. How to enable macros from the code?
2. How to disable insert and copy for this workbook?

Any help is appreciated. Thanks.

Regards,
Giri
 
B

Bob Phillips

1. You don't, otherwise what would be the point.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
G

Guest

Giri

For security reasons you cannot programmatically enable or disable macros

Stopping insert and copy may be difficult. Insert can be done via protection, but not sure about how you would handle the stopping of copying. (Pasting could be handled via protection too)
 

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