RE: Create a new line after every sentence



I'm not sure that a macro is really required. Surely find and replace will do
the job. If you search for ". " (fullstop followed by a single space) and
replace it with ".^p" (fullstop, Shift+6, the letter "p" - "^p" being the
'find and replace symbol' for a paragraph mark), this should get you pretty
close.

The only problems might be with instances where the fullstop is followed by
two spaces, but then you could follow up by searching for "^p " (paragraph
mark followed by a single space) and replacing it with "^p" (just the
paragraph mark). You might have to do this last step a couple of times to
accommodate the possibility of a fullstop followed by more than 2 spaces.

If you really want to automate this, you could write a macro to drive the
find and replace, but if it's only one or two documents, I'm not sure it's
worth it. However, if you do want a macro, I'd recommend starting with the
macro recorder to get the basic code and then tweaking as appropriate.
--
Cheers!

Gordon Bentley-Mix
Word MVP

Uninvited email contact will be marked as SPAM and ignored. Please post all
follow-ups to the newsgroup.


"DontKnow" wrote:

Hi Guys,

What I am trying to do is:
Allow a new sentence after every fullstop. Basically run a macro that has
every sentence on a new line. Currently I have 4 or 5 pages of sentences
that are not on a single line per sentence as well there are carriage returns
throughout. This is what I currently have:

"The major responsibility of Signallers is to operate the signalling
equipment in order to ensurethe safety of the public and the safe and
efficient passage of trains in the area under their control. Signallers
monitor a signalling display so that they are aware of all train movements
and any events happening in their area of control. This includes any areas
where they have no control of the signalling equipment, but the trains are
under their supervision. The Signaller is also responsible for compiling a
train register book, which includes entries for the following information."

How can I set this up via a macro: Notice how every sentence is set on a new
line there are no carriage returns within each sentence.

The major responsibility of Signallers is to operate the signalling
equipment in order to ensurethe safety of the public and the safe and
efficient passage of trains in the area under their control.

This includes any areas where they have no control of the signalling
equipment, but the trains are under their supervision.

The Signaller is also responsible for compiling a train register book, which
includes entries for the following information."

Thankyou in advance for your invaluable help!!

Cheers,

.



Relevant Pages

  • Re: Middlewich Engineering Works
    ... The whole of the single line will be controlled from Manchester South ... Signalling Control Centre when it re-opens, you are all right, it is ... Greenbank PSB has lost the loop, and infact will not control any of the ... trains running crewe to chester via beeston.... ...
    (uk.railway)
  • Re: Signals (Was : Can HST 125s do 140 mph?)
    ... In cab signalling is now the way to ... >>>mph) in France on conventional lines use the KVB continuous speed control ... >> and the trains to travel on them. ... > ATP system and not a speed control system. ...
    (uk.railway)
  • Create a new line after every sentence
    ... "The major responsibility of Signallers is to operate the signalling ... efficient passage of trains in the area under their control. ... where they have no control of the signalling equipment, ...
    (microsoft.public.word.vba.general)
  • Re: GPS Based signalling?
    ... can't see how you think GPS would contribute to that. ... It would provide positive control (to stop trains running into one another). ... For a signalling system, you need to know where other ...
    (uk.railway)