+ Reply to Thread
Results 1 to 6 of 6

Programmatically Resize Name Manager Dialog Box

  1. #1
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Programmatically Resize Name Manager Dialog Box

    Hi All,

    I use Excel's built-in Name Manager a LOT!

    Each time Excel is started, the dimensions, column widths etc. of the Name Manager dialog box are reset to default values which (I suppose!) are stored somewhere. The problem is that these default values are unsuitable for me, and I would like to be able to resize the dialog box programmatically.

    I've performed a quick check of registry value changes but have been unable to identify where these settings might be stored.

    So, does anyone know how to programmatically resize the Name Manager dialog box using e.g. API calls, registry values, other methods???

    Regards,

    Greg M


    P. S. Please note that following rorya's suggestion below, this has also been posted on: https://www.mrexcel.com/board/thread...g-box.1150867/
    Last edited by Greg M; 11-11-2020 at 06:36 PM. Reason: P. S. added

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,907

    Re: Programmatically Resize Name Manager Dialog Box

    I suspect the issue is precisely that they are not stored in the registry, and that's why your changes don't persist between sessions. I think it will require API calls to set up a call back to resize the dialog, and its columns, in its window_activate event. The best person I know for this sort of coding is Jaafar Tribak over at MrExcel.
    Rory

  3. #3
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Programmatically Resize Name Manager Dialog Box

    Hi rorya,

    Many thanks for that.

    Following your suggestion I have also posted this on Mr Excel. The original post has been edited to reflect this.

    Best regards,

    Greg M

  4. #4
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,149

    Re: Programmatically Resize Name Manager Dialog Box

    Greg, see the below link if it helps you...

    http://www.cpearson.com/excel/NameBox.aspx

    .

  5. #5
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Programmatically Resize Name Manager Dialog Box

    Hi Haluk,

    Many thanks for taking the trouble to reply.

    I was aware of that possibility, and indeed have been using it for quite some time, but my question relates not to the Defined Name Box, but rather to the Name Manager Dialog Box called from Formulas >> Name Manager.

    Best regards and thanks again,

    Greg M

  6. #6
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Programmatically Resize Name Manager Dialog Box

    Hi all,

    Please note that an excellent solution has been posted by Jaafar Tribak on the link mentioned in Post #1.

    Regards,

    Greg M

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Programmatically Select Dialog Boxes
    By ajocius in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2012, 11:08 PM
  2. Display Dialog Programmatically
    By sculler in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-29-2009, 08:21 AM
  3. Print Dialog seems to resize a text box - ?
    By RSimmons in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-12-2009, 04:10 PM
  4. Pass Auth Dialog Programmatically
    By taylordgordon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2008, 12:21 PM
  5. Replies: 2
    Last Post: 05-23-2006, 04:37 AM
  6. Opening Built-In Date Form Dialog Box Programmatically
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2006, 08:25 AM
  7. [SOLVED] Opening Built-In Dialog Box Programmatically
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-16-2006, 04:25 AM
  8. How to resize Data Form dialog window?
    By Compucat in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-06-2005, 07:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1