Setting Up A Simple Cloud-based Database and Using VBA to read/write to it

Chris Macro

Well-known Member
Joined
Nov 2, 2011
Messages
1,345
Office Version
  1. 365
Platform
  1. Windows
Hello,

I'm working on a personal project where I'd like to have a simple cloud-based database setup (think 10 columns + <5,000 rows). I'd like to be able to use VBA code that can read information from the database and also edit the database (add/delete/modify). Unfortunately, most documentation on the internet assumes the database is already set up and just addresses using VBA code to interact with the SQL database (or whatever).

My questions are:
  1. Is there a free/cheap way to set up a cloud-based database that isn't too complex?
  2. What is the best coding to interact with said database?
I appreciate your thoughts/advice. I know my way around VBA/Excel, but venturing out into more of an IT realm has been difficult for me to pick up.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
I'm currently pursuing using an Excel file stored on OneDrive and using VBA to read/write to it. Not my ideal solution and am still building it out, but hopefully, it will get the job done. My only worry is running into issues where the OneDrive file gets blocked from opening by company IT settings.
 
Upvote 1

Forum statistics

Threads
1,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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