.listi

  1. albertc30

    comboBox to display data in alphabetical order...

    Hi all. I am trying to show combboxes on userform to display the data, say customers, in alphabetical order. I have found the code bellow on MrExcel but it's not working. I am getting run time error 13, type mismatch. Private Sub UserForm_Initialize() ufcbbname.SetFocus allowed.Text...
  2. J

    Populate ListBox from SQL table

    Here is my code so far: Private Sub UserForm_Initialize() Dim cnn As New ADODB.Connection Dim rst As New ADODB.Recordset Dim i As Integer cnn.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=Forecast;Data Source=sqlaxrpt;Use Procedure for...
  3. sharky12345

    Problem getting correct Listbox selected item row

    I'm using this to identify the row number of a Listbox selected item; 'All Records If ComboBox1.Value = "All Records" Then CmdView.Enabled = True Total = Sheet9.Range("Q1").Value With ListBox1 For i = 0 To .ListCount - 1 If .Selected(i) Then TextBox4.Value = .List(i, 14) Set FindRow =...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top