Excel 2010: Replace a table by an external connection without impacting other sheets

前端 未结 3 780
逝去的感伤
逝去的感伤 2021-02-09 07:05

I have a big workbook with a lot of data. In one sheet I have a table. This table is used for many Pivot tables used in other sheets, which are also used in other sheets.

3条回答
  •  迷失自我
    2021-02-09 07:31

    I'm going through this too. I've done some testing, and this is the approach I am going to take.

    1. Save copy of file (just in case!)
    2. Create a new sheet, and create link to your database, and have it entered as a table on this new sheet
    3. Make sure your old table (manually entered) matches the same layout as the table with the data you are connecting to (same column order and column names)
    4. For each pivot table, change the source to the new table (it should keep all of your setup the same if the columns are labeled the same)
    5. Do a find and replace to change all formula referencing to the new table name.
    6. Change any code in VBA that references the old tables

    This should result in the least issues while making the changes. Just don't forget the first step!

提交回复
热议问题