Thread: [Solved] Format text automatically
View Single Post
 
Old 04-15-2013, 10:11 AM
dexter30 dexter30 is offline Windows Vista Office 2003
Novice
 
Join Date: Apr 2013
Posts: 20
dexter30 is on a distinguished road
Default

Wow! Now that worked!

Well maybe needs some fine tuning..

1) When there are 'Obs' and 'Justificativa' in the same paragraph, it only does the formatting for the first one. Then I would need to do find/replace again to format the second one. Is there a way to do it in only one step? (see attachaed files)

2) In the attached file PT_BEFORE, the code won´t work for the last 'Obs' (last line of the document). Can you see why?

Thanks!
Attached Files
File Type: doc PT_BEFORE.DOC (20.5 KB, 12 views)
File Type: doc PT_AFTER.DOC (20.5 KB, 10 views)
Reply With Quote