Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable the name box

The name box is on the formula bar and I want to disable
it in a macro
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Disable the name box

What do you mean by 'disable'? If you protect the worksheet (Tools,
Protection) the names can be viewed and selected, but not changed,
from the 'name box'. If you make the names hidden they do not appear
in the 'name box' nor the 'Define Name' dialog (Insert, Name, Define).
You must set the Visible property in code e.g. in the VBE Immediate
Window:

for each n in ThisWorkbook.Names : n.visible = false : next

The above code is also a heads up: the user can access (view, make
visible, change, delete) your defined names using the Immediate
Window, even when the worksheet and workbook is protected.

"markedwardfriedman" wrote in message ...
The name box is on the formula bar and I want to disable
it in a macro

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
disable print Alberto Ast[_2_] Excel Discussion (Misc queries) 11 January 20th 10 07:06 PM
Disable # bmelt Excel Discussion (Misc queries) 8 February 18th 09 04:39 PM
Disable Alt+F11 Bob Excel Discussion (Misc queries) 3 April 27th 06 10:05 PM
disable F1 12505-5B Excel Discussion (Misc queries) 1 February 16th 05 08:03 PM
Disable ALT KEY Dunce in SC[_2_] Excel Programming 2 October 26th 03 11:41 PM


All times are GMT +1. The time now is 08:30 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"