Hello,
I have one workbook running a form at a terminal for employees to scan in parts. this data is then entered into this workbook.
On another computer i have a second workbook that will import the data from the first using a workbook data connection. It is using the JET OLEDB 12 provider.
The problem is that when this second workbook tries to access the data, if the first sheet is open, the import popup will flash on the screen a few times and then the first sheet will be opened in my second workbook as a read only file. the data is imported correctly but i would like the import function not to open the first sheet in my second users screen.
Is there any way to import the data off of the first workbook without having excel open the first workbook as a read-only file in the second workbook?
the OLEDB script is as follows (replaced the file name but it is on the network, both workbooks are in the same folder on the network btw):
Provider=Microsoft.ACE.OLEDB.12.0;User ID=Admin;Data Source=S:\filename.xlsm;Mode=Share Deny Write;Extended Properties="HDR=YES;";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDB:Engine Type=35;Jet OLEDB:Database Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False;Jet OLEDB:Support Complex Data=False;Jet OLEDB:Bypass UserInfo Validation=False
Sorry if that was difficult to follow. i cant really demonstrate the problem without the network. also i was not sure if there was a better way to post the script since its not really "code".
Is there a better way to import data from another excel sheet without "disturbing it" / opening it that i am missing?
Thank you for the help![]()
Bookmarks