vba - Connect from Excel to Access database on internet server -


i hope able me out following. have excel based tool able retrieve , upload data (via ado) access database. works fine, need use on server approached via internet. running macro not work more giving me run time error: 'your network access interrupted'. use following connection string:

pad = activeworkbook.path xdatabase = pad & "\rolling forecast database.accdb" stdb = xdatabase stconn = "provider=microsoft.ace.oledb.12.0;" _ & "data source=" & stdb & ";"

although see people encounter same problem not sure causes macro not function more. has fact server not local? solutions problem?

grateful swift response,

cheers michiel

you use hivelink (https://hivelink.io) this..

it turn spreadsheet live service , need computer running time have original spreadsheet. hivelink create "lightweight" spreadsheet users can use anywhere, doesn't have macros or calculations. person using authenticate themselves, enter input data, press macro button , inputs sent "master" spreadsheet. hivelink run macro choose in master spreadsheet, access database upload or whatever, send results want user have. connection string stay in master spreadsheet. end users don't need install anything, works in excel (2010+) windows, , need enable macros work.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -