troubleshooting Question

Creating a Pivot Table

Avatar of RWayneH
RWayneHFlag for United States of America asked on
Microsoft ExcelMicrosoft Office
5 Comments3 Solutions287 ViewsLast Modified:
This used to work, why can I not place a pivot table on Sheet1 anymore?  Any ideas?  When I try to create one manually it says: "the data source you are trying to connect to is managed by an organization.  If you would like to reference it, please save your workbook in a location that is also managed."

I do use the data source tbl_pivot in a different workbook?  Does this mean that I need to name them uniquely? tbl_pivot1  2  3 ?

Sub CreateTop10PivotSheet()
    Sheets.Add.Name = "Sheet1"

     ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:= _
         Range("tbl_pivot"), Version:=xlPivotTableVersion12).CreatePivotTable _
         TableDestination:="Sheet1!R3C1", TableName:="PivotTable1", DefaultVersion _


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros