+ Reply to Thread
Results 1 to 2 of 2

Macros for Multiple Files to Delete Section Break and Adjust Margins

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    San Diego
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Macros for Multiple Files to Delete Section Break and Adjust Margins

    I have 1750 Word docs that are supposed to be 1 page. However, they each have a section break at the bottom that makes them two pages (second page is blank). When I delete that section break, the margins re-set to Normal.

    I need help writing macros that will open the next file in the folder, delete the section break, set margins to Narrow, and Save. Repeat for all files in folder.

    I don't know if it makes a difference, but I'm running Word 2010.

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Macros for Multiple Files to Delete Section Break and Adjust Margins

    Try the following macro. Simply point its browser to the target folder and all files in that folder will be converted to 1-section files (regardless of how many Sections they now have) having the same format as the existing first Section:
    Please Login or Register  to view this content.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1