View Single Post
 
Old 02-24-2020, 09:20 PM
pushpi004 pushpi004 is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2020
Posts: 21
pushpi004 is on a distinguished road
Default Issue with plurals

Hi paul,

as suggested by you, I have tried incorporating the new code. Clearly, MatchWholeWord=False doesn't give desired results.

Moving on to .MatchAllWordForms=True, in spite of all types of changes in my test file, database or even some lines of code, it gives a run-time error code 5610, stating that "the find what text for find all word forms can search only alphabetic letters".

My test file has following line, "The school technical library issues Mathematics, Physics and chemistry books to the students and teachers".

The database has following words to be replaced with :-
School to Sch, Library to lib, Technical to Tech, Mathematics to Maths, Physics to Phy, Chemistry to Chem, student to stdnt and teachers to tchr.

The required result must be "The sch tech lib issues Maths, Phy and chem books to the stdnts and tchrs"

I have read online that this function only works with english language and that it wont work along with .MatchWholeWord=True or .MatchCase=True. But even including these changes has not helped.
Reply With Quote