+ Reply to Thread
Results 1 to 4 of 4

VB code to do page setup and find page breaks

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB code to do page setup and find page breaks

    Hello:

    Please refer to attached file.
    I need VB code to do following.
    1. Need to do page Setup as follows
    Landscape
    Top Margin = 0.2
    Bottom Margin = 0.2
    Right Margin = 0.2
    Left Margin = 0.2
    Zoom to 90%

    2. Once done, find the horizontal page breaks and insert 2 rows and copy row# 2 and 3 so that, it becomes
    header for the new page


    Let me know if you have any questions.
    Thanks.

    R
    Attached Files Attached Files

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VB code to do page setup and find page breaks

    Possibly...
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB code to do page setup and find page breaks

    Hello dangelor:

    Works...Thanks

    Riz

  4. #4
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VB code to do page setup and find page breaks

    Good to hear!

+ 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. Replies: 1
    Last Post: 06-28-2017, 11:28 AM
  2. Removing Existing Page Breaks and Inserting a Page Break every third Total Line
    By Kalvas in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-17-2013, 05:12 AM
  3. Page setup, view page in 3 equal sections?
    By JapanDave in forum Excel General
    Replies: 0
    Last Post: 07-13-2010, 08:03 PM
  4. Replies: 1
    Last Post: 03-15-2009, 06:08 PM
  5. Set page setup on chart page when no printer is connected
    By Nicky in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-24-2009, 10:13 PM
  6. extracting page number from page setup footer
    By Conor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2008, 01:43 PM
  7. [SOLVED] find automatic page breaks
    By Reason in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2005, 01:06 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