+ Reply to Thread
Results 1 to 2 of 2

vba to print pivot table

  1. #1
    Forum Contributor
    Join Date
    04-05-2013
    Location
    CT
    MS-Off Ver
    Excel 2010
    Posts
    360

    vba to print pivot table

    i have this code that prints a range B5:K100. however it seems to have only worked the first time I used it...now as the pivot table changes, nothing changes on the PDF. which is really weird because i removed columns and the formatting of the pivot table...but when I prints a PDF none of the changes are made.

    here's the code.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: vba to print pivot table

    You have that range hard coded here:
    Please Login or Register  to view this content.
    Try:
    Please Login or Register  to view this content.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

+ 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. [SOLVED] Pivot Table Print Areas
    By Deventus in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-12-2013, 03:31 AM
  2. Multiple Pivot Tables from Master Pivot Table and Print as PDF - Need advise
    By vishnu01445 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2013, 02:07 PM
  3. How do I print an invoice from a Pivot Table?
    By aboo in forum Excel General
    Replies: 4
    Last Post: 07-01-2011, 02:25 AM
  4. Print Pivot Table on one sheet
    By Schofield in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2010, 10:52 PM
  5. Need Macro to Print a Named Pivot Table
    By RTM1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-05-2010, 01:51 PM
  6. Print only Pivot Table
    By Progress2007 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2008, 07:13 AM
  7. Replies: 2
    Last Post: 12-28-2005, 01:10 PM
  8. display / print 0's in pivot table cells
    By Mark in forum Excel General
    Replies: 2
    Last Post: 02-04-2005, 09:06 PM

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