+ Reply to Thread
Results 1 to 5 of 5

Dropdown view width

  1. #1
    Registered User
    Join Date
    11-08-2018
    Location
    Derbyshire
    MS-Off Ver
    2010
    Posts
    2

    Dropdown view width

    Hi I am creating a user form with dropdown boxes that show text but lookup numeric values and add a numeric value in the very narrow spreadsheet column, my problem is when you dropdown the box the view (width) is very limited and you cant see the full text ? Can I change this to expand just the dropdown view box?

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Dropdown view width

    If you create the comboboxes on the userform manually, then you can set the columnwidths property in the properties box by typing in the desired width in points, cm or in like.
    90 ( if points not text is needed), 2.54 cm or 1.5 in.
    If you are creating them in VBA and want to set the widths Then
    Please Login or Register  to view this content.
    If the combobox is multicolumn, then separate the columns with semicolons
    "90; 50; 75" Or "2.54 cm; 1.12 cm; 2 cm"
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    11-08-2018
    Location
    Derbyshire
    MS-Off Ver
    2010
    Posts
    2

    Re: Dropdown view width

    I have just created the dropdowns by data validation problem.jpg

  4. #4
    Registered User
    Join Date
    11-12-2018
    Location
    Cornwall, England
    MS-Off Ver
    Excel 2016 (Office 365 ProPlus)
    Posts
    58

    Re: Dropdown view width

    The bonus of doing like JLGWhiz suggests is that you get a visible box for users to select (as well as being able to customise the width as he describes). These do not print so wouldn't affect appearance.

    Worth a shot to see if it suits you or not, as I do not know of a way to resize a drop down list beyond that which the cell is already formatted to.

  5. #5
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Dropdown view width

    The column width of a validation drop down is based on the column width of the host cell. So if you want to expand the dropdown width, increase the column width.

+ 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] Let dropdown list width expand beyond width of column so people can read answer choices?
    By xdrenched in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-31-2016, 04:16 PM
  2. Change width of a dropdown list
    By Masun in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-14-2014, 09:05 AM
  3. View image View image Following the selection in dropdown list
    By ADebutVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2011, 08:41 PM
  4. Dropdown width
    By vidya_lakshman01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2010, 07:02 AM
  5. [SOLVED] set dropdown list width in validation
    By x taol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-20-2006, 12:10 AM
  6. Replies: 1
    Last Post: 04-13-2005, 07:06 PM
  7. Task Bar View of Column Width
    By PhysicsLabCoordinator in forum Excel General
    Replies: 0
    Last Post: 03-10-2005, 12:06 PM

Tags for this Thread

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