+ Reply to Thread
Results 1 to 4 of 4

Combo box text center alignment

  1. #1
    Registered User
    Join Date
    02-21-2019
    Location
    Germany
    MS-Off Ver
    2010
    Posts
    5

    Combo box text center alignment

    Hello Everyone,

    I have small question regarding the combo box!!

    I have a created a combo box which has list of items (dropdown). When I select one of the item, then the text(selected item) inside the combo box is not in center. So I need to align the text of combo box in center . please help me on this

    Note: I did not create any user form.

    Please see the attached file for your reference. In my worksheet I have 2 sheets Combox and List
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    14,978

    Re: Combo box text center alignment

    In the properties,change "TextAlign" property to fmTextAlignCenter

  3. #3
    Registered User
    Join Date
    02-21-2019
    Location
    Germany
    MS-Off Ver
    2010
    Posts
    5

    Re: Combo box text center alignment

    Fluff13 thank you for your reply. I know this property before, by using this property the text is aligned at the center but at the top of the combo box. I want exactly in the center (middle) of the combo box!! Can you suggest me an idea

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    14,978

    Re: Combo box text center alignment

    AFAIK that's not possible.

+ 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. Replies: 1
    Last Post: 05-08-2018, 02:41 AM
  2. Replies: 4
    Last Post: 08-13-2014, 11:03 PM
  3. [SOLVED] VBA to indent and text alignment
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2013, 08:31 PM
  4. Replies: 2
    Last Post: 05-24-2013, 10:52 AM
  5. Issue with Center Alignment in word
    By SathishKumar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2013, 02:31 AM
  6. Line & bar Combo graph - data point alignment
    By slash_gnr3k in forum Excel General
    Replies: 1
    Last Post: 06-09-2011, 12:22 PM
  7. Replies: 1
    Last Post: 01-18-2006, 12:48 PM

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