Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 161
Default Further Protection Question

Hi,

Apologies if I'm being stupid here, but if I disable the ribbon:

Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)

and disable the right click menu functionality:

Application.CommandBars("Ply").Enabled = False

to stop my users from playing with things that I don't want them to, how do
I actually get at the code myself?

(Fortunately, i saved a copy before doing it!)

TIA


Dave
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default Further Protection Question

Maybe change False to True ?

Regards,
Per

"Risky Dave" skrev i meddelelsen
...
Hi,

Apologies if I'm being stupid here, but if I disable the ribbon:

Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)

and disable the right click menu functionality:

Application.CommandBars("Ply").Enabled = False

to stop my users from playing with things that I don't want them to, how
do
I actually get at the code myself?

(Fortunately, i saved a copy before doing it!)

TIA


Dave


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 161
Default Further Protection Question

Sorry,

Not making myself clear.

If I enable the lines below in a workbook, save it, exit and then open it
again, the '07 ribbon is disabled and the right click menu is disabled. These
are the only two ways I know of (I'm new to this VBA stuff) of seeing the
code behind a sheet. Therefore I can't change the True/False switch.
Is there another way of getting at the code from the workbook or have I just
managed to completely lock myself out of my own work?

"Per Jessen" wrote:

Maybe change False to True ?

Regards,
Per

"Risky Dave" skrev i meddelelsen
...
Hi,

Apologies if I'm being stupid here, but if I disable the ribbon:

Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)

and disable the right click menu functionality:

Application.CommandBars("Ply").Enabled = False

to stop my users from playing with things that I don't want them to, how
do
I actually get at the code myself?

(Fortunately, i saved a copy before doing it!)

TIA


Dave



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Further Protection Question

Use Alt-F11, and select the appropriate project and the appropriate module.

--
__________________________________
HTH

Bob

"Risky Dave" wrote in message
...
Sorry,

Not making myself clear.

If I enable the lines below in a workbook, save it, exit and then open it
again, the '07 ribbon is disabled and the right click menu is disabled.
These
are the only two ways I know of (I'm new to this VBA stuff) of seeing the
code behind a sheet. Therefore I can't change the True/False switch.
Is there another way of getting at the code from the workbook or have I
just
managed to completely lock myself out of my own work?

"Per Jessen" wrote:

Maybe change False to True ?

Regards,
Per

"Risky Dave" skrev i meddelelsen
...
Hi,

Apologies if I'm being stupid here, but if I disable the ribbon:

Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)

and disable the right click menu functionality:

Application.CommandBars("Ply").Enabled = False

to stop my users from playing with things that I don't want them to,
how
do
I actually get at the code myself?

(Fortunately, i saved a copy before doing it!)

TIA


Dave





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 161
Default Further Protection Question

Bob & Per,

Thanks for your responses (Per, also for the other one).

Now sorted :-)

"Bob Phillips" wrote:

Use Alt-F11, and select the appropriate project and the appropriate module.

--
__________________________________
HTH

Bob

"Risky Dave" wrote in message
...
Sorry,

Not making myself clear.

If I enable the lines below in a workbook, save it, exit and then open it
again, the '07 ribbon is disabled and the right click menu is disabled.
These
are the only two ways I know of (I'm new to this VBA stuff) of seeing the
code behind a sheet. Therefore I can't change the True/False switch.
Is there another way of getting at the code from the workbook or have I
just
managed to completely lock myself out of my own work?

"Per Jessen" wrote:

Maybe change False to True ?

Regards,
Per

"Risky Dave" skrev i meddelelsen
...
Hi,

Apologies if I'm being stupid here, but if I disable the ribbon:

Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)

and disable the right click menu functionality:

Application.CommandBars("Ply").Enabled = False

to stop my users from playing with things that I don't want them to,
how
do
I actually get at the code myself?

(Fortunately, i saved a copy before doing it!)

TIA


Dave





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet Protection Question Pat Excel Discussion (Misc queries) 1 February 4th 09 11:14 PM
Protection Question PT New Users to Excel 1 July 2nd 08 03:57 AM
Sheet Protection Question Minitman Excel Programming 6 May 9th 08 08:35 PM
Protection Question - Help Please baz Excel Discussion (Misc queries) 0 April 7th 08 06:23 PM
Worksheet protection question Dominic Excel Discussion (Misc queries) 3 August 17th 07 07:46 PM


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"