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

In the attached file (PD_BEFORE) the macro works for the first four 'Nş [0-9]{1;8}' strings. I doesn´t do for the last one (Nş 516/2013), then MS Word freezes and I have to force it shut down.

The result after executing the macro 'Demo' is shown in the PD_AFTER_Sub_Demo file. Note also that it merged Nş 499/2013 and Nş 507/2013 (DA VEREADORA, I think you skipped this possibility)
Attached Files
File Type: doc PD_BEFORE.DOC (23.0 KB, 9 views)
File Type: doc PD_AFTER.DOC (21.5 KB, 8 views)
File Type: doc PD_AFTER_Sub_Demo.DOC (21.5 KB, 9 views)

Last edited by dexter30; 04-22-2013 at 10:02 AM.
Reply With Quote