Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 02-25-2012, 03:36 AM
macropod's Avatar
macropod macropod is offline indent alternate lines by different amounts Windows 7 64bit indent alternate lines by different amounts Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

As yet, you haven't said whether your poem paragraphs are formatted with a separate paragraph break per line, or just a manual line break.

Assuming your document is formatted with manual line breaks within stanzas and paragraph breaks between them, the following will work:
First, ensure there are two paragraph breaks between stanzas. If there is presently only one, you can use a standard Find/Replace, where:
Find = ^p
Replace = ^p^p
and, for the Find Style, choose the paragraph Style you've applied to the stanzas.
Second use a wildcard Find/Replace, where:
Find = ([!^11^13]{1,}[^11^13])([!^13][!^11^13]{1,}[^11^13])
Replace = \1^t\2
Third, format the Style in which the stanzas are typed with a 1in indent and a tab stop at 1.25in
Fourth, delete the double paragraph breaks if you don't want them, using a standard Find/Replace, where:
Find = ^p^p
Replace = ^p
and, for the Find Style, choose the paragraph Style you've applied to the stanzas.

If you really want a macro for this, simply activate the macro recorder immediately before starting and end it immediately after you've finished.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail merge with Duplicate Names but Different Dollar Amounts bh24524 Mail Merge 27 03-24-2014 01:15 PM
indent alternate lines by different amounts Getting blank lines instead of supressed lines. Welshie82 Mail Merge 2 11-14-2011 01:41 AM
can't space/indent lines, stuck joelron26 Word 3 10-07-2010 08:56 AM
Automatic insertion of blank pages or alternate text Diopippo Word 0 07-06-2010 12:13 AM
Alternate headings and footers Dr Aryn, DC Word 0 07-10-2009 05:44 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:13 PM.


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