Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Colt GraceMark
 
Posts: n/a
Default How do I widen the Name Box Navigator in Excel?

How do I widen the column width of the drop down window containing the list
of cell and range names in the Name Box navigator at the top left of the
screen?
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
not directly supported by Excel. You'll need some Windows API function calls).
But maybe you'll want to have a look at the following addin:
http://www.jkp-ads.com/OfficeMarketPlaceNM-EN.htm

"Colt GraceMark" wrote:

How do I widen the column width of the drop down window containing the list
of cell and range names in the Name Box navigator at the top left of the
screen?

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Colt,

Here is a routine that I think Chi[p Pearson posted originally

Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
(ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long

Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
(ByVal hWnd1 As Long, _
ByVal hWnd2 As Long, _
ByVal lpsz1 As String, _
ByVal lpsz2 As String) As Long

Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
(ByVal hwnd As Long, _
ByVal wMsg As Long, _
ByVal wParam As Long, _
lParam As Any) As Long

'-----------------------------------------------------------------
Public Sub WidenNameBox()
'-----------------------------------------------------------------
Dim Res As Long
Const CB_SETDROPPEDWIDTH = &H160
Const cWidth = 200

Res = SendMessage( _
FindWindowEx( _
FindWindowEx( _
FindWindow("XLMAIN", Application.Caption) _
, 0, "EXCEL;", vbNullString) _
, 0, "combobox", vbNullString), _
CB_SETDROPPEDWIDTH, cWidth, 0)
End Sub


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Colt GraceMark" <Colt wrote in message
...
How do I widen the column width of the drop down window containing the

list
of cell and range names in the Name Box navigator at the top left of the
screen?



  #4   Report Post  
Gord Dibben
 
Posts: n/a
Default

Colt

Robert Gelb has a free COM add-in that does this.

http://www.vbrad.com/pf.asp?p=Source...l_nb_addin.htm

Gord Dibben Excel MVP

On Thu, 16 Dec 2004 05:19:06 -0800, "Colt GraceMark" <Colt
wrote:

How do I widen the column width of the drop down window containing the list
of cell and range names in the Name Box navigator at the top left of the
screen?


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 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I isolate my Excel server (automation) from other Excel instances? Joseph Geretz Excel Discussion (Misc queries) 5 July 19th 13 03:18 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM
VB Automation is Whacking out my Excel Environment Joseph Geretz Excel Discussion (Misc queries) 2 December 29th 04 03:49 PM


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