Use VBA to read and edit Google sheet or create reliable way to update to Excel on the cloud

Robbo4077

New Member
Joined
Mar 3, 2019
Messages
1
I've written VBA that reads emails when they arrive on my PC at home, extracts relevant details, looks up necessary info and saves or updates records in an Excel sheet. This enables me to leave my PC running and have it automatically load new orders while I am on the road. Because two of us (part-timers) take turns at deliveries (and I don't want the other user to have access to other personal files on my OneDrive account), the spreadsheet resides in a OneDrive account (I'll Call it QFM), and QFM has shared the folder with me, ROB, enabling me to save a local copy on my PC so my VBA can write to it.

I also have an AppSheet app that allows me and the other user to progressively record details to the same spreadsheet as we fulfill orders. Both of us log into AppSheet using the QFM account.

The problem I am having is that if my VBA adds/edits a record around the same time a user edits another record in the same spreadsheet, the Local PC version is saved on the web and destroys recent records saved by the AppSheet app. So at the end of every day I have to spend ages copying and pasting records from old versions from OneDrive.

I am after suggestions on how to either improve the sync with Excel, or use VBA to read and write to a cloud version of a Google spreadsheet (or the Excel spreadsheet). I am moderately proficient at VBA and a total dummy at Google Script (hence my reluctance to re-write the whole lot in Google Script)
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,214,657
Messages
6,120,764
Members
448,991
Latest member
Hanakoro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top