View Single Post
 
Old 10-16-2022, 01:20 AM
Emby Emby is offline Windows 7 32bit Office 2000
Novice
 
Join Date: Nov 2017
Posts: 10
Emby is on a distinguished road
Default How to shorten English words of specific length by macro?

I have a word file containing English and Chinese words. When an English word exceeds four characters, it is necessary to shorten the line of English words to three characters. The rules are as follows:
Before After Rule
a 日 a 日 No change
aa 昌 aa 昌 No change
aaa 晶 aaa 晶 No change
aaam 㬪 aam 㬪 Delete the third character of the English word
aahaf 鷼 aaf 鷼 Delete the third and fourth characters of the English word
Attached Files
File Type: docx TestSample.docx (22.5 KB, 6 views)
Reply With Quote