searchrange

  1. T

    Function to return range of unique values

    I have a Column(H) that is 2000+ rows large, and will increase as I add more data. In this Columns there is only 4 unique values. Ex: H2:H600 = AAA, H601:H1200 = BBB, H1201:H1800 = CCC, and so on.... How do I get the range returned to a variable of all of the AAA, and BBB, and CCC. dim...
  2. A

    find function

    I'm trying to limit the range using Columns("A18:A" & LRow) , however i'm getting an error. The below code works fine, however I'm wondering is it not possible to limit the range from a specific row? , SearchRange As Range LRow as long LRow = Range("A" & Rows.Count).End(xlUp).Row Set...
  3. A

    find and update

    this code to search with in range and update the information. I have only 1 item in the range and it says there is nothing? Can someone assist to correct this problem. Thank you SearchString = ListBox1.Column(1, ListBox1.ListIndex) Set SearchRange = Range("T18:T" &...
  4. M

    Unsure on how to loop SearchRange

    The code below works fine and does exactly what i want it to do, however what is the best way to loop it Sheet "New" has approx 3000 lines of data, the code below finds the first instance of SC which in this argument is 999, after its copied those values to "Database" how can i get it to...
  5. I

    Sorting of ComboBox list

    Afternoon. I have a ComboBox on my userform which when i click the drop down arrow the names then shown are in order of A-Z & taken from my worksheet column B, "if i select a name from that list i am then taken to the person on the worksheet" Now i would like to use the same code BUT without...
  6. F

    Exiting loop if value = "Total"!!!

    Hi I have a code that will find blank cells and copy the above cell to fill in the blank cell and it will stop when it gets to cell value containing the text "total". But I've been getting this error " Run-time error '91': Object variable or with block variable not set" Can you please help...
  7. C

    Force format of date in this code...can't get to work

    I have altered this many times. Need it to come back and tell user they didn't enter proper date format. Currently it allows any text to be entered. I tried many things but at my wits end. I have used suggestions from other date format posts but can't get to quite fit in this. Codes begins by...
  8. C

    Copying Data to another worksheet

    Hello, The aim of this is to search through a range of cells for particular status and then copy certain corresponding information over to another sheet (sheet 2) if the correct status is achieved. This works when I use it to copy the data into the same worksheet and it mysteriously worked once...
  9. K

    Endless Loop

    I had an expert write a script for me, and it worked once it was given to me... on my test data. Now it just runs an endless loop and never stops starting over. I haven't given the developer but a few hours to respond, but I'm at a loss. Any help would be appreciative. I did not know how to...

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