Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default Disable Options in 2003

I am wanting to disable to 2003 options to where a user can not turn on the
row & column headers.

Can someone please help with this.


Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Disable Options in 2003

hi
run this code from a standard module. this will disable the options control.
to enable the options control change........
ctl.Enabled = False from False to True and run code again.

Sub disableoptions()
Dim myCtl As CommandBarControls
Dim ctl As CommandBarControl
Set myCtl = CommandBars.FindControls _
(Type:=msoControlButton, ID:=522)
For Each ctl In myCtl
ctl.Enabled = True
Next ctl
End Sub

see this site for a list of MS controls.
http://support.microsoft.com/kb/213552

regards
FSt1

"Jeremy" wrote:

I am wanting to disable to 2003 options to where a user can not turn on the
row & column headers.

Can someone please help with this.


Thank you

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
Excel 2003 - Options Riley Excel Discussion (Misc queries) 7 March 4th 08 06:25 PM
Excel 2003 format menu disable it Setting up and Configuration of Excel 1 October 29th 07 02:15 PM
Recalc Options in 2003? KMH Excel Discussion (Misc queries) 0 February 6th 06 04:02 PM
How to disable Security Warning for Excel 2003 with NO macros Marjie Setting up and Configuration of Excel 2 November 1st 05 07:19 PM
Disable format painter in excel 2003 tenchsama New Users to Excel 1 February 8th 05 12:53 AM


All times are GMT +1. The time now is 06:48 PM.

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

About Us

"It's about Microsoft Excel"