My setup involves three computers: 1. An application sits on an Internet-connected Windows Server in the Cloud. 2. This application is connected to a SQL Server instance on another Windows Server in the Cloud, which is disconnected from the Internet 3. I have an Excel sitting on a third computer.
How can Excel send data to the Windows Server database?
One working option is to use Dropbox to synchronize text files between the Excel and the Internet-connected Windows Server, and then to use sqlcmd on the Internet-connected Windows Server to run these text files on the database.
However this solution is not ideal for a number of reasons!
Any better way? As far as I know I can't open up SQL Server to the Excel - using such approaches as described in https://leansoftware.net/Help/Excel-Database-Tasks/Worked-examples/How-to-connect-Excel-to-Remote-Web-Server-SQL-Data.aspx - because my SQL Server is not connected to the Internet.
Note that the SQL Server is the Express edition (we hope to upgrade to Azure in the not-too-distant future)