+ Reply to Thread
Results 1 to 2 of 2

Creating pivot sheet at the end(by the macro)

Hybrid View

mumsys Creating pivot sheet at the... 08-01-2013, 05:28 AM
mumsys Re: Creating pivot sheet at... 08-01-2013, 06:53 AM
  1. #1
    Registered User
    Join Date
    07-09-2013
    Location
    Poland
    MS-Off Ver
    excel 2007
    Posts
    85

    Creating pivot sheet at the end(by the macro)

    Hello, I'm creating pivot table with the macro, and the sheet with the pivot creates at the beggining (which messes my macro up later). I want it to add a sheet at the end of the workbook. Where should I putt this command?

    Set PtCache = ActiveWorkbook.PivotCaches.Add( _
        SourceType:=xlDatabase, _
        SourceData:=s.Range("Concatenate")) 
    Set Pt = PtCache.CreatePivotTable( _
        TableDestination:=Sheets("Pivot Sheet").Range("A3"), _
        TableName:="Pivot")

  2. #2
    Registered User
    Join Date
    07-09-2013
    Location
    Poland
    MS-Off Ver
    excel 2007
    Posts
    85

    Re: Creating pivot sheet at the end(by the macro)

    I posted the same question on Ozgrid
    http://www.ozgrid.com/forum/showthre...735#post677735

+ 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. Need help creating a pivot table for a time sheet
    By redneck9407 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-26-2013, 04:56 PM
  2. [SOLVED] Creating new Pivot table with dynamic sheet names/ranges
    By KeriM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2013, 08:54 AM
  3. [SOLVED] Creating a Scrollable Table/Pivot/Range within a sheet?
    By JungleJme in forum Excel General
    Replies: 1
    Last Post: 10-12-2012, 08:15 AM
  4. Creating two pivot tables on same sheet - Optimize recorded macro code
    By johnny_tc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 11:59 AM
  5. Macro for creating Pivot
    By pradeepkodali in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-29-2011, 04:58 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