+ Reply to Thread
Results 1 to 3 of 3

Edit PageSetup for All Sheets

  1. #1
    Registered User
    Join Date
    03-25-2008
    Location
    Evansville, IN
    Posts
    38

    Edit PageSetup for All Sheets

    I need a macro that will select all sheets within the workbook and make changes to the PageSetup and then ungroup the sheets within naming a particular sheet since I won't know the sheet names. I wrote the below code that partially works. It doesn't change Pagesetup for all sheets nor does it ungroup all sheets without using a sheet name. Can someone tell me what I am doing wrong? Thanks.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    You can try with this code:
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Registered User
    Join Date
    03-25-2008
    Location
    Evansville, IN
    Posts
    38
    Thanks, Antonio. That worked

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Edit Script not to look at one of my sheets
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2008, 01:35 PM
  2. edit all sheets
    By qwertyjjj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-17-2007, 10:39 AM
  3. Hide Sheets - Maco won't work!
    By Novice_704 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-13-2007, 11:49 PM
  4. SUMPRODUCT across Multiple Sheets in the same workbook
    By Adrian17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2007, 01:41 PM
  5. Printing Multiple Sheets to One PDF file
    By johnnywinter in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2007, 11:03 AM

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