View Single Post
 
Old 11-09-2022, 04:51 AM
TheBigBoss TheBigBoss is offline Windows 7 32bit Office 2010 32bit
Advanced Beginner
 
Join Date: Dec 2016
Posts: 56
TheBigBoss is on a distinguished road
Default Parsing and modifying text per line - Find occurences

Hi there,

Sorry for the title being almost meaningless.

I have a table, one cell contains a single line or multiple lines of reference (e.g TST/PRF/25/64)

I need to do the following for EACH line:
a) Content before the first slash must be bold, 14pt
b) Content after the first slash is not bold, 11pt
...BUT if content at the second slash is "VST" or "PKE" then it should be bold, 14pt too.

I really failed on that one, ranges and moving in ranges get me crazy
Some help would be grateful

Attached is the TEST-reference.dotm with the FixIt macro.
Attached Files
File Type: dotm TEST-reference.dotm (28.7 KB, 20 views)
Reply With Quote