PC Review


Reply
Thread Tools Rate Thread

Disable Customize dialog box

 
 
=?Utf-8?B?U3RldmUgQw==?=
Guest
Posts: n/a
 
      9th Mar 2007
I have created a spreadsheet where confidential information is entered by
managers about other managers. When a manager opens it, it is programmed to
filter out any entries about that manager by using his/her Windows login
name. This prevents them from reading entries made about themselves.

I discovered through experimentation that managers could circumvent this
filter by choosing the Advanced Filter option under the Data menu, so I
disabled it with more programming. When the user closes Excel, my programming
re-enables it.

Then I discovered that anyone could open Excel to a new workbook and add the
Advanced Filter button to an existing or new toolbar. Then, when they opened
the confidential workbook, that button is readily available to them.

Is there a way to check for the existence of the Advanced Filter button (on
any toolbar) upon opening this workbook and disabling it until they close it?
Thanks!
--
Steve C
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      9th Mar 2007
There are a hundred other ways to defeat what you are doing. The easiest is
to just disable macros when the workbook is open. In fact, if you haven't
certified the workbook and security is set to high (in Excel 2002 and 2003),
the managers are already seeing their entries and not even knowing they are
not supposed to since the macros are being disabled without any
warning/notification to the user.

If you are going to give a workbook to someone, plan on them having access
to all the information within. You need to physically remove the information
if you don't want it viewed.

--
Regards,
Tom Ogilvy


"Steve C" wrote:

> I have created a spreadsheet where confidential information is entered by
> managers about other managers. When a manager opens it, it is programmed to
> filter out any entries about that manager by using his/her Windows login
> name. This prevents them from reading entries made about themselves.
>
> I discovered through experimentation that managers could circumvent this
> filter by choosing the Advanced Filter option under the Data menu, so I
> disabled it with more programming. When the user closes Excel, my programming
> re-enables it.
>
> Then I discovered that anyone could open Excel to a new workbook and add the
> Advanced Filter button to an existing or new toolbar. Then, when they opened
> the confidential workbook, that button is readily available to them.
>
> Is there a way to check for the existence of the Advanced Filter button (on
> any toolbar) upon opening this workbook and disabling it until they close it?
> Thanks!
> --
> Steve C

 
Reply With Quote
 
=?Utf-8?B?U3RldmUgQw==?=
Guest
Posts: n/a
 
      13th Mar 2007
The way I defeated disabling macros was to display an instructions sheet on
how to enable macros if they didn't (the manager's comments sheet is hidden
upon opening, and only displays if macros are enabled). If enabled, the
entries for that manager are already hidden by the time that sheet displays
its entries.

I realized going into this that there likely would be a number of ways to
defeat the "security" I programmed into it. Via programming, I'm just trying
to account for the more obvious ones that our managers might think of.

Out of curiosity, is there a way to detect the existence of a button on a
toolbar?

Thanks,

-- Steve C


"Tom Ogilvy" wrote:

> There are a hundred other ways to defeat what you are doing. The easiest is
> to just disable macros when the workbook is open. In fact, if you haven't
> certified the workbook and security is set to high (in Excel 2002 and 2003),
> the managers are already seeing their entries and not even knowing they are
> not supposed to since the macros are being disabled without any
> warning/notification to the user.
>
> If you are going to give a workbook to someone, plan on them having access
> to all the information within. You need to physically remove the information
> if you don't want it viewed.
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Steve C" wrote:
>
> > I have created a spreadsheet where confidential information is entered by
> > managers about other managers. When a manager opens it, it is programmed to
> > filter out any entries about that manager by using his/her Windows login
> > name. This prevents them from reading entries made about themselves.
> >
> > I discovered through experimentation that managers could circumvent this
> > filter by choosing the Advanced Filter option under the Data menu, so I
> > disabled it with more programming. When the user closes Excel, my programming
> > re-enables it.
> >
> > Then I discovered that anyone could open Excel to a new workbook and add the
> > Advanced Filter button to an existing or new toolbar. Then, when they opened
> > the confidential workbook, that button is readily available to them.
> >
> > Is there a way to check for the existence of the Advanced Filter button (on
> > any toolbar) upon opening this workbook and disabling it until they close it?
> > Thanks!
> > --
> > Steve C

 
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
How do I fix the Customize Notifications dialog box in XP? GameGirl37 Windows XP General 4 23rd May 2009 09:57 PM
Customize dialog box =?Utf-8?B?SG9wZQ==?= Microsoft Excel Misc 7 7th Jan 2007 05:12 PM
Customize Find Dialog Box =?Utf-8?B?RWxhaW5l?= Microsoft Excel Discussion 2 12th Jun 2006 02:06 PM
Log Off Dialog - customize? Gerry Hickman Microsoft Windows 2000 Group Policy 2 17th Sep 2005 09:46 PM
Customize Common Dialog George Microsoft C# .NET 20 8th Jul 2004 09:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 AM.