+ Reply to Thread
Results 1 to 3 of 3

Refresh Code Adds Table Columns

  1. #1
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Refresh Code Adds Table Columns

    Hello,

    What determines how many table columns are included when running the Refresh code?

    I want to customize the table on the Movies sheet to only have the ID, Movie Title, and Genre. Also have the ability to select which columns to have.

    Is it possible to have the ability to select which table columns to have on the Movies sheet which gets the information from the Data sheet?

    Thank you for your help
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Re: Refresh Code Adds Table Columns

    The table was based on a query. I edited the query to only include the columns that I needed. Now it works how I wanted.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-26-2023
    Location
    Lousianna
    MS-Off Ver
    Microsoft 365
    Posts
    1,271

    Re: Refresh Code Adds Table Columns

    I have much to learn about the power query.

+ 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. [SOLVED] What code do I use to refresh a Pivot Table
    By aresquare1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-28-2021, 07:34 AM
  2. [SOLVED] TextToColumns code to split DateTime columns adds an extra AM/PM column
    By MarMo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-05-2018, 08:46 AM
  3. Excel table that adds columns based on date range
    By biggie5252 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2016, 11:24 AM
  4. Pivot table refresh - VBA Code
    By Raviprasad.k in forum Excel General
    Replies: 3
    Last Post: 12-14-2012, 08:19 AM
  5. Help with a Macro that adds columns to a table
    By Jupasto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-02-2011, 08:22 AM
  6. Querytable Refresh Adds Columns
    By krysolov in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2011, 11:36 AM
  7. [SOLVED] Code to Refresh Pivot Table
    By S Jackson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2005, 01:05 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