Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 194
Default Multiple text criteria with FileSearch object?

I'm trying to use the FileSearch object to mimic the FileOpenToolsFind in
XL2000. I can get it to do everything except multiple TextOrProperty
criteria. These are set by Input Box. It works okay with only one, but
won't search for two or more criteria like you can from the dialogue box.
I've tried
.TextOrProperty = strText1 & strText2 & strText3
.TextOrProperty = strText1, strText2, strText3
but neither works. Any suggestions?

Ed


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Multiple text criteria with FileSearch object?

Hi Ed,

Try this modification,

.TextOrProperty = strText1 & " or " & strText2 & " or " & strText3

Ed wrote:

I'm trying to use the FileSearch object to mimic the FileOpenToolsFind in
XL2000. I can get it to do everything except multiple TextOrProperty
criteria. These are set by Input Box. It works okay with only one, but
won't search for two or more criteria like you can from the dialogue box.
I've tried
.TextOrProperty = strText1 & strText2 & strText3
.TextOrProperty = strText1, strText2, strText3
but neither works. Any suggestions?

Ed



--

Cheers
Andy

http://www.andypope.info

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COUNTIF with multiple text criteria Richard[_9_] Excel Worksheet Functions 11 April 1st 09 07:36 PM
Finding text using multiple criteria RobN[_2_] Excel Discussion (Misc queries) 15 March 3rd 08 07:58 PM
SUM with multiple numeric and text criteria mcdc01 Excel Discussion (Misc queries) 2 January 24th 07 09:21 PM
Lookin property of the FileSearch object [email protected] New Users to Excel 0 December 5th 06 09:37 PM
multiple text criteria sum if function datasorter Excel Worksheet Functions 13 July 29th 06 08:51 PM


All times are GMT +1. The time now is 11:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"