+ Reply to Thread
Results 1 to 4 of 4

how to share data between two workbooks in separate computer using VBA?

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208

    how to share data between two workbooks in separate computer using VBA?

    I have an excel workbook that I am currently using to scrape large amount of data from web on a daily basis and my friend has his own excel workbook in his computer which he uses as an analyzing tool to analyze the data that I am importing from the web and I am trying to figure out the best way to share my data with him on a daily basis (all automated).

    I have come up with the following two ideas and I would like to see how other people think of these two approaches to go about it.

    Approach 1: Once my workbook scrapes data from the web, I will use either an Add-in tool or a web service to convert the data into an API file then share this file with my friend via an icloud solution (i.e. one drive). Then I will write a VBA code on my friend's workbook which will automatically (on a set time of a day) download the file from the one drive then update the data to his workbook. Not even sure if this is 100% achievable via VBA though. Found few codes online that seems to do the job but haven't tried it yet.

    Approach 2: I can use a google spreadsheet. Once my workbook scrapes all the data from the web, it will push the data to the google spreadsheet (using VBA). And once this is updated, my friend's workbook will (of course with the VBA code) pull the data from the google sheet to his excel workbook (I guess once a day). In this case, I will need a code on my workbook and a separate code on his workbook.

    What I am trying to achieve here is to find out if these are the best solutions out there or if anyone knows any better way to achieve what I am trying to achieve.

    Excel online isn't the right solution for me as my file is bigger than 50MB which is beyond their maximum file size limit.

    Any idea will be highly appreciated.

    Thank you.

    Jin

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: how to share data between two workbooks in separate computer using VBA?

    Why can’t you just use Dropbox and save a copy there for your friend to use. There’s no vba needed

  3. #3
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208
    Hi Kyle123, i am planning on sharing that data with multiple people in the near future. if i can manage to have the data updated using one of the methods above, i am planning to apply it to other workbooks. sharing the file in dropbox isn't a good solution for me at this stage. thank you

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: how to share data between two workbooks in separate computer using VBA?

    How is option 1 different to my suggestion? I don't really understand why you need code, just save a copy on icloud or one drive that they 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. Consolidating data from two separate workbooks into a third
    By Ezzard in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2015, 02:20 PM
  2. Automatic share data between workbooks
    By Oeysbrei in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-09-2013, 01:45 PM
  3. Share Data between to Excel Workbooks and Sheets
    By joe_k in forum Excel General
    Replies: 2
    Last Post: 10-26-2011, 10:40 AM
  4. Comparing data in Data Sets from two separate excel workbooks....
    By duongj87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2011, 10:53 AM
  5. Replies: 1
    Last Post: 07-04-2006, 01:00 PM
  6. how do I share a file with another computer
    By ladyold in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 06-17-2005, 05:04 AM
  7. Can 2 workbooks share data in Name Fields?
    By Mike R. in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2005, 02:06 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