Search Function

itsme2

Board Regular
Joined
Jul 29, 2006
Messages
66
I have a bit of code, modified from the board, that will search a specified spreadsheet, and return the located information (row), and copy it to another row on a "results" worksheet.

I use 2003 Excel and XP. On the laptops at work they run 2K Pro and Excel 2003.

On the work laptop, if the "case sensitive option" happens to be selected in the standard CTRL <F> Excel function, it appears to effect the search feature of the worksheet.

I cannot duplicate the error on my laptop.

Anyone have any ideas or away to disable the "Case Sensitive" option from the searchstring code that has been modified for use in this workbook?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

HalfAce

MrExcel MVP
Joined
Apr 6, 2003
Messages
9,456
At the top of your code module you can try adding the line:
Option Compare Text
 

Forum statistics

Threads
1,176,447
Messages
5,903,160
Members
435,012
Latest member
Excel for life

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
Top