View Single Post
 
Old 03-25-2023, 11:15 AM
dhapp dhapp is offline Windows XP Office 2007
Novice
 
Join Date: Jul 2010
Posts: 7
dhapp is on a distinguished road
Default Find string, Replace with dot tab

Is there a way to do a Find all occurrences of a string (e.g. "xxx") and Replace each of them with a right-justified dot tab?

Ex:
January 1, 2023xxxNew Years' Day
becomes
January 1, 2023.........................New Years Day

I can Find xxx and Replace with ^t but this results in a standard tab characters, and not dot tabs.

I suspect this will require some vba code, but am unfamiliar with vba in Word.

Thanks.
Reply With Quote