Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

debug pivot tables

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Debug of pivot tables

Debug of pivot tables

ResolvedVersion 2007

Raf has attended:
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course

Debug of pivot tables

the sales person table doesn't work if the name has already appeared

RE: debug of pivot tables

Hi Raf,

Thanks for the question.

I am in the office tomorrow so I will go through the code and find out why the code was not executing a new sheet and pivot table for existing tabs.

Regards

Simon

RE: debug of pivot tables

Hi Raf,

In regards to my last email, our upload link does not allow macro enabled files to be attached.

If you would like the amended code, just send me an email address.

Regards

Simon

RE: debug of pivot tables

Hi Raf,

I have looked at the code and amended the following:

1. I uncommented the Call Delete sheet line of code in the CreateSheet procedure.

2. In the MainSPReport there was no line of code calling the PivotAnalysis so I added it in.

If you are using the command button, you need to comment out the Call PivotAnalysis as we have the blnPivot = true then call PivotAnalysis.

Please find the amended code attached.

I hope this answers your question.

Regards

Simon

Wed 20 May 2009: Automatically marked as resolved.

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Freeze Rows and Columns to keep lables displayed

You can freeze rows and columns in your worksheet so they don't move.

This allows you to keep row and column labels displayed on your screen as you move through a large worksheet.

Click below and/or to the right of the cell(s) you want to freeze. (NB. Excel freezes ALL the rows above and ALL the columns to left of the selected cell)

Click on the 'Windows' menu and selct 'Freeze Panes'.

Lines appear in your worksheet. The required rows and columns are frozen and remain on your screen as you move through your worksheet.

To unfreeze rows and columns, click on 'Window' menu and select 'Unfreeze Panes'.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.15 secs.