+ Reply to Thread
Results 1 to 2 of 2

Using Web Tables and VBA Code to Update Values

  1. #1
    Registered User
    Join Date
    12-11-2020
    Location
    Canada
    MS-Off Ver
    Microsoft 365
    Posts
    1

    Using Web Tables and VBA Code to Update Values

    Hello everyone, I have a large video game collection in excel that has the value of each game. As time goes on the value changes. I have found a website (pricecharting.com) that updates the game values frequently. My goal is to pull that data and put it into my excel sheet. I have managed to import the proper tables to excel using the "From Web" tool. However, I was wondering if there is an easier way to automate the comparison between my excel sheet and the website? Or should I simply import the table and have VBA code compare and update if necessary? Also, how would I do this?! My VBA code knowledge is minimal. The picture should give a better idea of my goal. Thanks for reading!



    Capture.PNG

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: Using Web Tables and VBA Code to Update Values

    you are pulling data just like stock market data is pulled and/or read. I would say you can't do it the way you want. and the reason is because excel is not a web app. but when you pull from the web via your method or via PQ, excel puts tables in it's memory, via the windows you see when the data is pulled from the web and put inside excel and you see it. and those tables remain there forever, as far as I know. so my guess is, that the easiest way to do this would be this:

    - automate pulling data from web and throw to new sheet.
    - write code to compare old sheet to new sheet.
    - do whatever else you need after that.

    those steps will automate the whole process.

+ 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: 1
    Last Post: 07-07-2018, 02:52 AM
  2. vba code to update all pivot tables based on cell change on active sheet only
    By seatejo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2014, 08:34 PM
  3. Excel 2007 VBA code to update linked-tables in Access 2003
    By armensg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2013, 12:45 PM
  4. disabling Update Values until completed with vba code
    By meghanalissa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2013, 06:51 PM
  5. Replies: 2
    Last Post: 06-04-2012, 06:57 AM
  6. Code to update all pivot tables in a workbook is slow
    By Simon Austin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2010, 03:56 AM

Tags for this Thread

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