03-01-2019 05:34 AM
03-01-2019 05:34 AM
I have some extensive VBA code that reads emails, deciphers information, looks up additional data and updates the information in an Excel spreadsheet that is shared between two user Office 365 accounts. The other user also updates the same spreadsheet on line (actually it's done via an AppSheet app).
The problem is that I frequently lose data. When the online user updates information, and at a similar time my VBA updates data on my PC and then syncs, the PC version over-rides the on line version and on-line updates are lost. At the end of each day I need to laboriously go through version histories on line copying data from one copy to another to come up with a final result for the day.
AppSheet suggest I use Google Sheets instead of Excel, but that would mean a major re-write of my VBA, so I was hoping someone might have a better solution.
Ideally I would like to create a virtual drive link to the on-line version of the spreadsheet and get the VBA to update that. I know that could be done if the spreadsheet was not shared between two users, but because it is, Microsoft won't support the virtual drive link.
03-01-2019 06:42 AM
03-01-2019 04:06 PM
Thanks for the suggestion. That may work but it doesn't solve my problem.
In my case the VBA processes orders. So it either add records to the spreadsheet so the other user can process, or it updates records such as when an existing order is called up for delivery. I can receive as many as 40 orders during a business day. The other user (using AppSheet) updates those records as each order is processed. That means as many as 25 updates per day.
Unless I don't understand your suggestion correctly, it sounds like your idea of having them on different sheets would mean the process loses its integration.
03-02-2019 10:36 AM
03-03-2019 04:20 AM
Yeah, that's what I was afraid of. Unfortunately I can't justify the expense, and my expertise is limited to moderate VBA. Looks like I may need to dump Microsoft, learn Google Script, and re-write the VBA in Google Script, since that updates direct to cloud and avoids sync issues.
03-03-2019 07:16 AM
03-04-2019 10:13 PM
I hope it's soon! I only do about 40 - 50 jobs a week and it's painful having to keep manually fixing
by LorenzoMolteni on May 29, 2020
by Rob_embry on May 29, 2020
by cuong on May 27, 2020
by Ingeborg Hawighorst on May 13, 2020