+ Reply to Thread
Results 1 to 2 of 2

Replace Table with New Data

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,955

    Replace Table with New Data

    I have a workbook. In Sheet1 ("Source") I have Table1. In sheet2 ("Formulas") I have various formulas that reference Table1.

    On a regular basis I want to delete all of the information in Table1 and replace it with updated data. This is the start of my current code, which deletes everything under the headers and converts my table to a range:
    Please Login or Register  to view this content.
    I then open another workbook, gather a bunch of data, copy it, and paste it back like this:
    Please Login or Register  to view this content.
    My problem is my formulas. For instance, this one:
    Please Login or Register  to view this content.
    That's the way it starts out before I start my macro. Once I finish, the formula changes to
    Please Login or Register  to view this content.
    I'm thinking if I turn off Calculation that might fix that problem, but I need to calculate on my other workbook.

  2. #2
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,955

    Re: Replace Table with New Data

    Still haven't got a response, maybe I didn't phrase it well enough. In a nutshell, I want to replace all of the data in a table with new data. My current procedures involves deleting and replacing the table, which means I also have to replace all of my formulas. I'm hoping there's a better way to replace all data in a table with new data. Please advise if you know of a way.

    Thanks,
    John
    Last edited by jomili; 10-30-2015 at 02:40 PM.

+ 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] Replace data in a table with same data from another table, bringing formatting with it.
    By Strykewulf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2019, 12:55 PM
  2. Macro to replace line of data within a table
    By jwillis07 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-29-2015, 09:41 AM
  3. Replace Piv Table Data Source
    By fgruhlke in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-07-2015, 03:24 AM
  4. replace a CONCATENATE from pivot table with fx to raw data
    By ggremel in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-03-2011, 09:32 PM
  5. Comparing a Table with another data Table to replace with a Code
    By acsishere in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-28-2008, 01:26 PM
  6. [SOLVED] Replace SQL Table with Excel data
    By Ken Valenti in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2006, 06:15 PM
  7. Replace all Pivot table data fields using VBA
    By Silvershed Stu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2006, 12:20 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