Results 1 to 4 of 4

Pivot Table placement, cut and paste at range

Threaded View

  1. #1
    Forum Contributor
    Join Date
    10-09-2012
    Location
    Adelaide, South Australia
    MS-Off Ver
    Excel 2010
    Posts
    135

    Pivot Table placement, cut and paste at range

    Hi guys,
    below is some code I am trying to troubleshoot. Essentially I am trying to place pivot tables so they do not cause errors when refreshing and bump into each other.
    I have successfully moved the pivot with the code below:

    Sub Report_Micrometer_Interchange()
        Sheets("Report-Micrometer (Interchange)").Select
        Dim a As Integer
           
        x= Range("Placement_x")
    
            ActiveSheet.PivotTables("PivotTable3").TableRange1.Cut
            Range("K" & x).Select
            ActiveSheet.Paste
    end sub
    but now I am trying to move the title directly above the pivot to another location.
    When I run the below code it selects the whole range above not just the cell directly above the first column of the pivot: Please help!

    ActiveSheet.PivotTables("PivotTable3").TableRange1.Select
            Selection.Offset(-1, 0).Select
    Last edited by wacky_diva; 02-14-2017 at 09:48 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy and paste formula outside pivot table using information from table
    By batjl9 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-01-2014, 07:10 AM
  2. Pivot table field placement/layout problem
    By HannahKirk in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-21-2014, 09:50 PM
  3. Macro to Copy Pivot Table and Paste a Regular Data Table in the Same Position
    By webfeet2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2013, 06:34 AM
  4. Replies: 5
    Last Post: 01-06-2012, 04:35 PM
  5. Return pivot table range...not the data table, the PIVOT TABLE!
    By Air_Cooled_Nut in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2008, 01:07 PM
  6. [SOLVED] Pivot Table Grand Total Placement
    By William Horton in forum Excel General
    Replies: 2
    Last Post: 11-17-2005, 05:10 PM
  7. Pivot Table custom column placement
    By metrueblood in forum Excel General
    Replies: 1
    Last Post: 08-03-2005, 05:05 PM

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