Results 1 to 6 of 6

ListObjects Print Area Issue - There is no headings

Threaded View

  1. #1
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Europe
    MS-Off Ver
    Office 2021 - Win10
    Posts
    1,014

    ListObjects Print Area Issue - There is no headings

    Hi friends,
    1- Open enclosed file.
    2- Run Macro1.
    3- Run Macro2.
    4- Look printing view of page. (There is a headings)

    5- Run Macro3.
    6- Look printing view of page. (There is no headings)---->This is my problem.

    So, I need a macro like this;
    Sub Macro4()
    ActiveSheet.PageSetup.PrintArea = ActiveSheet.ListObjects(1)[#All]
    End Sub
    Regards
    Attached Files Attached Files
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

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: 02-12-2013, 12:16 PM
  2. VBA to set print range, open box asking for print qty, print, then redefine print area
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2012, 06:43 PM
  3. Replies: 8
    Last Post: 05-23-2007, 06:39 AM
  4. Replies: 4
    Last Post: 10-08-2005, 03:05 PM
  5. Print Area:What would be the code for setting the print area
    By wammer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2005, 02:05 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