Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Hiding option buttons

Hi there,
I'm creating a sheet that will be accessed by both pupils and teachers -
however, I don't want the pupils to access the teacher parts. One of those
parts is a series of form control option buttons (in group boxes). I have
created a password protected macro to hide columns, yet the final column of
option buttons (and the group boxes) remains visible (no matter how many
columns I select). What am I doing wrong?
Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Hiding option buttons

First, if you have information that the students shouldn't see -- or information
that shouldn't be shared between teachers, then don't do this.

Excel's worksheet protection is easily broken or bypassed. That information
will get out.

But...

Since you used the optionbuttons from the Forms toolbar, your macro could hide
the optionbuttons you don't want to see.

If you had used the optionbuttons from the control toolbox toolbar, you could:
Click on the design icon (also on that control toolbox toolbar)
rightclick on each of the optionbuttons
choose Format control|Properties tab
select "move and size with cells"
(make sure that the optionbuttons are completely within the cell/row/or column.)



Tubthumper wrote:

Hi there,
I'm creating a sheet that will be accessed by both pupils and teachers -
however, I don't want the pupils to access the teacher parts. One of those
parts is a series of form control option buttons (in group boxes). I have
created a password protected macro to hide columns, yet the final column of
option buttons (and the group boxes) remains visible (no matter how many
columns I select). What am I doing wrong?
Thanks,


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Hiding option buttons

Thanks for this - however, the 'move and size' option is greyed out...

Help!

"Dave Peterson" wrote:

First, if you have information that the students shouldn't see -- or information
that shouldn't be shared between teachers, then don't do this.

Excel's worksheet protection is easily broken or bypassed. That information
will get out.

But...

Since you used the optionbuttons from the Forms toolbar, your macro could hide
the optionbuttons you don't want to see.

If you had used the optionbuttons from the control toolbox toolbar, you could:
Click on the design icon (also on that control toolbox toolbar)
rightclick on each of the optionbuttons
choose Format control|Properties tab
select "move and size with cells"
(make sure that the optionbuttons are completely within the cell/row/or column.)



Tubthumper wrote:

Hi there,
I'm creating a sheet that will be accessed by both pupils and teachers -
however, I don't want the pupils to access the teacher parts. One of those
parts is a series of form control option buttons (in group boxes). I have
created a password protected macro to hide columns, yet the final column of
option buttons (and the group boxes) remains visible (no matter how many
columns I select). What am I doing wrong?
Thanks,


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Hiding option buttons

That's because you used optionbuttons from the Forms toolbar.

Read my suggestion again.

Tubthumper wrote:

Thanks for this - however, the 'move and size' option is greyed out...

Help!

"Dave Peterson" wrote:

First, if you have information that the students shouldn't see -- or information
that shouldn't be shared between teachers, then don't do this.

Excel's worksheet protection is easily broken or bypassed. That information
will get out.

But...

Since you used the optionbuttons from the Forms toolbar, your macro could hide
the optionbuttons you don't want to see.

If you had used the optionbuttons from the control toolbox toolbar, you could:
Click on the design icon (also on that control toolbox toolbar)
rightclick on each of the optionbuttons
choose Format control|Properties tab
select "move and size with cells"
(make sure that the optionbuttons are completely within the cell/row/or column.)



Tubthumper wrote:

Hi there,
I'm creating a sheet that will be accessed by both pupils and teachers -
however, I don't want the pupils to access the teacher parts. One of those
parts is a series of form control option buttons (in group boxes). I have
created a password protected macro to hide columns, yet the final column of
option buttons (and the group boxes) remains visible (no matter how many
columns I select). What am I doing wrong?
Thanks,


--

Dave Peterson


--

Dave Peterson
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
Option Buttons/Radio Buttons John Calder New Users to Excel 7 May 16th 08 03:51 AM
Hiding Buttons K1KKKA Excel Discussion (Misc queries) 1 September 26th 07 12:07 PM
Option buttons: How to get the selected option from a group? naddad Excel Programming 5 December 21st 05 05:09 PM
Navigating between option buttons is not selecting the option drhalter Excel Programming 1 June 3rd 05 02:28 PM
Navigating between option buttons is not selecting the option Gixxer_J_97[_2_] Excel Programming 4 June 2nd 05 02:50 PM


All times are GMT +1. The time now is 09:40 AM.

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"