Results 1 to 4 of 4

Trying to format many Combo boxes at once

Threaded View

  1. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Trying to format many Combo boxes at once

    I would use data validation.

    Select your 37 cells , then select the data tab and then data validation.

    Select "Use List" and then enter your list "Apples, Pears, Plums"

    You can enhance this by using a simple sheet specific macro.

    Right Click on the sheet name at the bottom of your sheet, select "View Code" and paste this code in to the module that opens and close it.

    
    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    *** Dim lngValType As Long
    *** On Error Resume Next
    *** lngValType = Target.Validation.Type
    *** On Error GoTo 0
    *** If lngValType = 3 Then SendKeys "%{DOWN}"
    End Sub
    Attached Files Attached Files
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Suddenly unable to use text boxes/combo boxes on my computer
    By eawesley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2020, 10:28 AM
  2. How to link combo boxes and list boxes in VBA using active x controls
    By LaSouth1776 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2020, 12:46 PM
  3. [SOLVED] Using Multiple Combo Box Values to populate a cell (Excluding blank combo boxes)
    By mnadamn19 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2016, 08:38 PM
  4. [SOLVED] Help with code for userform text boxes, combo boxes and excel
    By innerise in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2014, 09:07 AM
  5. populating list boxes and combo boxes in a user form.
    By ahceinaej in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2014, 11:54 AM
  6. assigning data to lists boxes and combo boxes in userforms
    By weston.roberts in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-01-2011, 03:11 AM
  7. assigning data to lists boxes and combo boxes in userforms
    By weston.roberts in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2011, 08:46 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