You are probably fighting a losing battle by trying to secure an Excel
workbook. Most of the methods that will allow some security are easily
circumvented by a knowledgeable programmer. If you disable the attach file
to Outlook, then you screw up the users mail system and they might not know
how to fix it. It is probably better to just use the limited sucrity of
protecting the workbook and code and hope that others are not smart enough
to know how to get around that.
"Enthusiastic amateur FH" <Enthusiastic amateur
(E-Mail Removed)> wrote in message
news:E8251DD0-258B-434E-A08F-(E-Mail Removed)...
>I am trying to prevent a confidential workbook being attached to an email
> using the "Send" option. Ideally I would like a solution for both Excel
> 2007
> and older versions as the document will be accessed by multiple users. It
> is
> not necessary for the commandbars to be available to users so I have tried
> deleting Commandbars (1).Controls("File") but with no success. I have
> also
> tried to prevent Excel executing the "ActivateMicrosoftApp
> xlMicrosoftMail"
> application.
>
> Any tips would be appreciated.