+ Reply to Thread
Results 1 to 3 of 3

How to keep the table name after converting it to a range

  1. #1
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    How to keep the table name after converting it to a range

    The below code converts the tables in my workbook to a range but one of the tables that gets converted feeds three pivot tables in the workbook and those three pivot tables break every time I convert to a range and then save the file using Save As. The error I get when I refresh the workbook is Pivot table field name is not valid.

    Once I run the code I just need it to rename the "EXP_DATA_TBL" table that was just converted back to "EXP_DATA_TBL". The upper most left cell of the range will always be B8 and the range will grow and shrink all the time with the right most column being column P.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: How to keep the table name after converting it to a range

    Is there a reason for converting the tables to ranges?

  3. #3
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    Re: How to keep the table name after converting it to a range

    Yes, The tables are pulled in from a data connection to an Access Database. The workbooks have people who access them from both MAC's and PC's but since the MAC's don't work with Access I have to break the connection and save a version that MAC users can access.

+ 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. "clear contents" is converting my table into a range randomly
    By joepekimo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-25-2017, 06:29 AM
  2. [SOLVED] Adding converting a range to a table into a macro
    By adrenom in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2016, 05:00 PM
  3. Loose column widths when converting range to a table
    By ricmon in forum Excel General
    Replies: 0
    Last Post: 03-17-2016, 05:27 PM
  4. [SOLVED] VBA -How to keep existing range column headers when converting to table
    By Quinn.Farley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2016, 05:30 PM
  5. [SOLVED] Formulas are not copying after converting a Table to a Range
    By johnw993 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-22-2013, 12:39 AM
  6. [SOLVED] Converting Table to Range, Then Back to Table
    By Gard5096 in forum Excel General
    Replies: 1
    Last Post: 01-23-2013, 06:03 PM
  7. [SOLVED] Converting From Range to Table is squashing data in Graph
    By ChemistB in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-04-2012, 08:50 AM

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