Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-23-2012, 05:14 AM
rufusfrog rufusfrog is offline indent alternate lines by different amounts Windows 7 64bit indent alternate lines by different amounts Office 2003
Novice
indent alternate lines by different amounts
 
Join Date: Feb 2012
Posts: 3
rufusfrog is on a distinguished road
Default indent alternate lines by different amounts

I need to write a macro in Word 2003 to format poetry to indent the even lines more than the odd. I can write the logic but don't know enough VBA to write the code. I think to make the code work I'll need each line as a separate paragraph which I can just use find/replace to achieve so assume that's done.

The logic, I think, is:
Within the selection,
...indent the first paragraph 1",
...indent the next paragraph 1.25",
repeat these two actions until end of selection.



Can anyone help me with the code to achieve this?
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 11: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