+ Reply to Thread
Results 1 to 3 of 3

Need Help on VBA Code of listbox validation

  1. #1
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Need Help on VBA Code of listbox validation

    Hi experts

    i need help on VBA code fine tuning as per requirement

    i want only list out only B & D not C list box , In D Column list out first Billable then Non-Billable if possible

    Private Sub UserForm_Initialize()
    Dim say As Integer
    Application.ScreenUpdating = False
    say = WorksheetFunction.CountA(Worksheets("RawData").Range("A:A"))
    ListBox1.RowSource = "Rawdata!B1:D" & say
    ListBox1.ColumnCount = 9
    ListBox1.ColumnWidths = "60;60;60;60;60;60;60;60;60"
    ListBox1.MultiSelect = fmMultiSelectMulti
    Application.ScreenUpdating = True
    End Sub


    find the attachment
    Attached Files Attached Files
    Last edited by johnlara; 12-10-2022 at 07:54 PM. Reason: file missing

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Need Help on VBA Code of listbox validation

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: Need Help on VBA Code of listbox validation

    Amazing Stunt!! Solved with wonder code!!!!!!!

+ 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. Data Validation/Listbox multiselect
    By radddogg in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-17-2016, 06:26 AM
  2. Error when trying to use data validation & listbox
    By RattlerSkin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-09-2016, 10:27 AM
  3. VBA - Userform - Listbox validation and Listbox to Textbox
    By stevefisher85 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2016, 07:11 AM
  4. Data validation within a userform listbox possible?
    By c980511 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2014, 02:15 AM
  5. Modification of listbox to listbox code
    By Sam S via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-28-2005, 07:05 AM
  6. [SOLVED] data validation-become a listbox,
    By Hardy03 in forum Excel General
    Replies: 3
    Last Post: 06-28-2005, 06:05 AM
  7. Data Validation Listbox problem
    By RASEnt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2005, 08:05 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