totrows

  1. S

    Next and Previous

    Afternoon all I am using the code below to populate a Userform from data held on "Project Master" Worksheet. I am trying to add a command button to transition to previous and next rows, but for some reason the code i tried either jumped me to the header row (row 1) of the "Project Master"...
  2. S

    Sort a Combobox Alphabetically

    When my Userform loads a Combobox is populated using the following code: Private Sub comboboxFill() CmbFindProject.Clear totRows = Worksheets("Project Master").Range("A1").CurrentRegion.Rows.count For i = 2 To totRows CmbFindProject.AddItem Worksheets("Project Master").Cells(i, 1).value Next i...
  3. S

    copy the contents of a multicolumn listbox to a single cell on a worksheet

    Is there as way of sending the contents of a Multi Column Listbox to a single cell in a worksheet. I am currently using the following code to send data from a Userform to Worksheet, but for some reason the data from my Multi Column listbox does not transfer over. The data is a combination of...
  4. J

    Code or Name Search

    HI, i have the code below, how can I change it that I can search for either the Vendor name or code cells (the two cells in green?. here is the code: Private Sub SearchButton_Click()Dim totRows As Long, i As Long totRows = WorksheetFunction.CountA(Range("A:A")) If VendorTextBox.Value = ""...
  5. P

    Compile Error: End If without Block If

    I'm a newbie and trying to create a macro but just cannot figure out why I keep receiving this compile error. I thought this code was fairly straightforward. Can someone please help me troubleshoot? Thanks! Sub Copy_Incompletes() ' ' ' Dim i, Totrows As Integer Dim ws1 As Worksheet: Set ws1...

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