on-internet
← Community

Insert excel data before the pivot table

Stack Overflow ·

I keep getting this error: Run-time error '5': Invalid procedure call or argument: I am just learning VBA...& yes, I have searched for the answer on here before I tried to ask this question. First I tried to add single quotes to the TableDestination(however there's no space in the sheet name), & then I tried to refresh the table which I did, no bueno. I also made sure that the pivot table name was unique and not previously used, lastly I came across a solution to remove the Sheets.Add statement and leave TableDestination:="". This worked but when I generate the report it inserts the pivot tabl

Comments

Sign in or sign up to comment and upvote.

No comments yet.