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

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

HalfAce

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

Forum statistics

Threads
1,141,627
Messages
5,707,495
Members
421,511
Latest member
mgroah1

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