+ Reply to Thread
Results 1 to 2 of 2

Question Issue creating pivot table from table data

  1. #1
    Registered User
    Join Date
    05-05-2020
    Location
    Canada
    MS-Off Ver
    Microsoft Office 2018
    Posts
    2

    Question Question Issue creating pivot table from table data

    Hi guys,

    I almost have this piece of code working exactly as I want it to. My only issue is that I want the pivot table to be created on an existing worksheet called "Client Distribution" instead of the macro creating a new worksheet to put the pivot table in. Does anyone know how I can fix this? When I try to change the destination worksheet (you can see it commented out in the code) it gives me an error on the very last line of code. I would really appreciate any help!

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    05-05-2020
    Location
    Canada
    MS-Off Ver
    Microsoft Office 2018
    Posts
    2

    Re: Question Issue creating pivot table from table data

    Hi Guys,

    I was able to get some help on Reddit. Turns out the issue was that my worksheet name had spaces in it which was causing problems. I needed to put a single quotation around the worksheet name to make it work. I change the last line of code out for this.

    Please Login or Register  to view this content.

+ 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. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  2. Creating a Pivot Table to display columns of data issue
    By Sven.Bassett in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-18-2016, 04:46 AM
  3. Creating a Pivot Table using Data Table in different file?
    By JasonMcQueen in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-13-2016, 11:56 AM
  4. Pivot table issue, I'm not able to capture new data, when table is updated
    By johnnyq113 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-26-2015, 05:01 PM
  5. Replies: 1
    Last Post: 07-29-2015, 05:19 PM
  6. Replies: 1
    Last Post: 07-29-2015, 05:15 PM
  7. Basic Question - Pivot Table Div/0 issue - Excel 2010
    By Christianb in forum Excel General
    Replies: 3
    Last Post: 04-30-2012, 01:42 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