Link to home
Start Free TrialLog in
Avatar of Euro5
Euro5Flag for United States of America

asked on

code stuck at pivot creation

my code is running, but stops at creating the pivot table.
Sub MakePivot()
.......
'create pivot cache
Set PtCache = ActiveWorkbook.PivotCaches.Add( _
    SourceType:=xlDatabase, _
    SourceData:=s.Range("F_Data")) 'entire contents of sheet

Can anyone help?
test.xlsb
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

I'm not able to download your file as it failed after half download..tried couple of times..can you please upload your file again...
Avatar of Euro5

ASKER

I will try Sure hope that you can help....I really have a need for this.
THANKS!
test.xlsb
ASKER CERTIFIED SOLUTION
Avatar of Saurabh Singh Teotia
Saurabh Singh Teotia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Euro5

ASKER

THANK YOU. Very helpful - understood the issue and corrected. Above and beyond. :)
You are welcome..Thanks for Appreciating..Happy to Help.. :-)