Kerry Lawler
asked on
VBA to Access db on Virtual Machine
Hi,
I currently have Excel importing data from an Access db, however, the database is moving to a Virtual Machine that we have with MS Azure.
I am unsure what I need to do to connect to the db once it's moved. The Excel will still be on my local machine.
We currently login to the VM via Remote Desktop Connection. Within the VBA, what do I need? Do I need to enter the password (as I do when I connect via RDC)?
thanks in advance
Kerry
I currently have Excel importing data from an Access db, however, the database is moving to a Virtual Machine that we have with MS Azure.
I am unsure what I need to do to connect to the db once it's moved. The Excel will still be on my local machine.
We currently login to the VM via Remote Desktop Connection. Within the VBA, what do I need? Do I need to enter the password (as I do when I connect via RDC)?
thanks in advance
Kerry
ASKER
We're unable to do that because the Excel workbook is used by various people to import data - and the Access db is updated daily at various times. Also, not everyone has access to the VM.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Your going to need a share on the Azure VM for the Access DB to be accessible. This will be a separate logon from your RDP credentials most likely.
https://blogs.technet.microsoft.com/canitpro/2015/11/30/step-by-step-setting-up-azure-smb-file-share/
Jim.
https://blogs.technet.microsoft.com/canitpro/2015/11/30/step-by-step-setting-up-azure-smb-file-share/
Jim.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
/gustav