Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-11-2013, 10:20 AM
dexter30 dexter30 is offline Format text automatically Windows Vista Format text automatically Office 2003
Novice
Format text automatically
 
Join Date: Apr 2013
Posts: 20
dexter30 is on a distinguished road
Default Format text automatically

Hi, I would like to do the following automated task on Word 2003:



THROUGH THE WHOLE DOCUMENT:

WHENEVER:
There is a line starting with "Nº"
AND
There is a "/" in any place within the first 9 characters on this line

THEN:
Look for a new paragraph starting with "Obs.:" OR "Justificativa:" and add this paragraph to the previous one, keeping right and left margins justified. If none of these words are found, do nothing.

Thanks in advance.

EXAMPLE:

Before
------

Nº 3631/2013 - fazer tubulação para desvio de água fluvial nos fundos do terreno, na Rua Ricardo Althoff, no Bairro Passo Manso.

Obs: maiores informações com Sr. Norberto, pelo telefone 9239-7754 ou com Sr. Jorge, pelo telefone 9968-9788.

Nº 3632/2013 ...


After
-----

Nº 3631/2013 - fazer tubulação para desvio de água fluvial nos fundos do terreno, na Rua Ricardo Althoff, no Bairro Passo Manso. Obs: maiores informações com Sr. Norberto, pelo telefone 9239-7754 ou com Sr. Jorge, pelo telefone 9968-9788.

Nº 3632/2013 ...
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find text in between two characters and then format selected text? qcom Word 5 02-19-2015 11:23 PM
automatically format meetings by me with some attendee wsw70 Outlook 0 06-24-2011 12:16 AM
Objective: Automatically export email text,attachment text to DB friendly format SilentLee Outlook 0 11-14-2010 02:45 PM
automatically extract footnotes into new file and apply character format to footnote hrdwa Word 0 02-27-2010 03:16 AM
format cells to automatically place quotes around text dirtleg Excel 1 09-16-2008 01:52 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft