Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #31  
Old 05-07-2013, 02:24 PM
macropod's Avatar
macropod macropod is offline Format text automatically Windows 7 64bit Format text automatically Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You should be able to achieve that by changing:


.Replacement.Text = " "
to:
.Replacement.Text = "; "
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #32  
Old 05-08-2013, 01:23 PM
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

Ok, did it, but that semicolon is being inserted in other parts of the document rather than only in section 'PROPOSITURAS RESPONDIDAS' (see, for instance, page 2, Nš 4368/2013... the semicolon right before 'Justificativa' must not exist)

Thank you.
Attached Files
File Type: doc PT4_RESULT.DOC (40.5 KB, 9 views)
Reply With Quote
  #33  
Old 05-08-2013, 03:40 PM
macropod's Avatar
macropod macropod is offline Format text automatically Windows 7 64bit Format text automatically Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

OK, insert:
Code:
      .Text = ".;"
      .Replacement.Text = "."
      .Execute Replace:=wdReplaceAll
before:
Code:
      .Text = "^l"
      .Replacement.Text = "^p"
      .Execute Replace:=wdReplaceAll
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #34  
Old 05-14-2013, 01:17 PM
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

Perfect, my friend, that will save me hours of boring work.

Thanks A LOT for everything.
Reply With Quote
Reply



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 09:48 AM.


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