instr()

  1. M

    INSTR() not returning the correct number of occurrences.

    I'm attempting to import comma delimited data into an array but need to replace the 187th element of each line if the total number of commas in the string is equal to 192. The problem being that I can't determine the number of commas in the string. Sample .txt file ...
  2. F

    Look for several words in string

    Hi! I've been trying to solve this problem for a couple of days now without any luck. I wnat to search a range of cells based on their values. But somehow the instr() function wont work, I've used it earlier with sucsess, so I don't understand why it wont work now.:confused: So far I'm just...
  3. M

    VBA search for numbers within a string of text

    My client sends me a spreadsheet every month and I am trying to run a macro where it searches for a number within a cell. In the below example I have labeled the headers as (Type - Acct #), and then there is data below the headers. Sometimes the client changes the account name. For example...
  4. M

    VBA search for numbers within a string of text

    My client sends me a spreadsheet every month and I am trying to run a macro where it searches for a number within a cell. In the below example I have labeled the headers as (Type - Acct #), and then there is data below the headers. Sometimes the client changes the account name. For example...
  5. T

    Double For next loop

    Hi, I am quite a newbie on this and try to step up to the next level... The sub below tries to compare a list of new transactions on a worksheet with a second list on another worksheet. If a condition is met it should copy a range from the second list to the first. I tried to write it all in...

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