PC Review


Reply
Thread Tools Rate Thread

How can I stop my workbook being attached to an email?

 
 
Enthusiastic amateur FH
Guest
Posts: n/a
 
      20th Jul 2009
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.
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      20th Jul 2009
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.



 
Reply With Quote
 
ker_01
Guest
Posts: n/a
 
      20th Jul 2009
It seems that you would also have to block the user's ability to save as,
otherwise they might just save a local copy, and attach it from within their
email program (completely skipping the part you are trying to block).

Rather than deleting specific commands off the toolbars/ribbons, I kind of
suspect you might have an easier time just intercepting the event triggered
by that button, use it to pop up a message to your users saying "bad end
user!" and kill the event. Do the same with the 'save as' event.

You'll have to determine just how secure the workbook needs to be, vs. how
much time you are willing to spend making it secure, vs. the technical skill
set of your user group. I secure things just to prevent novice users from
accidently screwing things up, but I'd never assume I could keep the contents
of an Excel workbook truly secure if I had even semi-technical users who were
motivated to access or copy the data.

Good luck,
Keith

"Enthusiastic amateur FH" wrote:

> 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.

 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      20th Jul 2009
You can disable the mail option in 2007 but there are other options to mail the file
so it is not bullet proof

If you want a example let me know



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Ghost" workbook attached to my good workbook Teresa, CFP Microsoft Excel Misc 1 10th Dec 2007 07:59 PM
Adding text to body of email with workbook attached. aph Microsoft Excel Programming 3 5th Dec 2005 03:11 PM
Email Attached Excel Workbook in Outlook: Disables auto open VBmac =?Utf-8?B?U29hcEd1eU1pa2U=?= Microsoft Outlook Discussion 0 20th Oct 2005 04:18 PM
Re: keeping a toolbar attached to a workbook Paul Ponzelli Microsoft Excel Misc 0 12th Aug 2005 11:39 PM
macro attached to workbook: to be sent to other users =?Utf-8?B?Sm9obiBG?= Microsoft Excel Programming 1 13th Dec 2004 09:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:14 AM.