Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default added characters

Hello;

When I am doing a search..

With Application.FileSearch
.NewSearch
.LookIn = DDIR
.SearchSubFolders = False
.Filename = DDIR
.TextOrProperty = MyString
.MatchAllWordForms = True
.FileType = msoFileTypeAllFiles

I am getting extra characters added to the search string..

input lines are
ACCESS CLOSE
ACCESS OPEN

mystring lines are
"ACCESS CLOSE"
"ACCESS OPEN"

I do not need the search string adding characters...

Can someone help ...

Thanks for your time and efforts..
Sammy

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default added characters

"MatchAllWordForms = True" if you seach for "no" will give you "no", "not",
"now", "nowhwere", etc. So if you want only the exact word you have to make
it "MatchAllWordForms = False"

"Sam Hodo" wrote:

Hello;

When I am doing a search..

With Application.FileSearch
.NewSearch
.LookIn = DDIR
.SearchSubFolders = False
.Filename = DDIR
.TextOrProperty = MyString
.MatchAllWordForms = True
.FileType = msoFileTypeAllFiles

I am getting extra characters added to the search string..

input lines are
ACCESS CLOSE
ACCESS OPEN

mystring lines are
"ACCESS CLOSE"
"ACCESS OPEN"

I do not need the search string adding characters...

Can someone help ...

Thanks for your time and efforts..
Sammy

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default added characters

This did not help. I am still getting the extra "mystring"
I am doing an exact search.


"JLGWhiz" wrote:

"MatchAllWordForms = True" if you seach for "no" will give you "no", "not",
"now", "nowhwere", etc. So if you want only the exact word you have to make
it "MatchAllWordForms = False"

"Sam Hodo" wrote:

Hello;

When I am doing a search..

With Application.FileSearch
.NewSearch
.LookIn = DDIR
.SearchSubFolders = False
.Filename = DDIR
.TextOrProperty = MyString
.MatchAllWordForms = True
.FileType = msoFileTypeAllFiles

I am getting extra characters added to the search string..

input lines are
ACCESS CLOSE
ACCESS OPEN

mystring lines are
"ACCESS CLOSE"
"ACCESS OPEN"

I do not need the search string adding characters...

Can someone help ...

Thanks for your time and efforts..
Sammy

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
convert 5 characters in a cell to 6 characters by adding a zero Helenf Excel Discussion (Misc queries) 4 May 18th 09 04:43 PM
Insert Leading Characters If String Is Only 7 Characters Paperback Writer Excel Discussion (Misc queries) 2 April 21st 09 09:07 PM
All keyboard characters and symbols shold be added in Autoshapes Parantap Excel Discussion (Misc queries) 1 April 29th 06 08:17 PM
In Excel find characters when multiple characters exist w/i a cel teacher-deburg Excel Worksheet Functions 1 December 5th 05 10:22 PM
HOW DO I EXTRACT ALL CHARACTERS AFTER 5 CHARACTERS ON LEFT GRYSYF Excel Worksheet Functions 5 October 12th 05 10:58 AM


All times are GMT +1. The time now is 01:20 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"