Problem with connection string to network excel woorkbook

jaryszek

Board Regular
Joined
Jul 1, 2016
Messages
213
Hi Gurus,

My problem is within connection string from my Query in Excel:

DSN=Excel Files;DBQ=\\nt-wro7-01\dane\IACC\DOKUMENT\Pliki QlikView\raport Łukasz 2.xls;DefaultDir=\\nt-wro7-01\dane\IACC\DOKUMENT\Pliki QlikView\raport Łukasz 2.xls;DriverId=1046;FIL=excel 12.0;MaxBufferSize=2048;PageTimeout=5;

Example.jpg


In my file:

\\nt-wro7-01\dane\IACC\DOKUMENT\Pliki QlikView\raport 09.08.2016.xls there will be report name : "Raport" & today date pulling out every day.

So my connection string should be working similar like this to read this:

\\nt-wro7-01\dane\IACC\DOKUMENT\Pliki QlikView\raport*.xls but this is not working.
How can I connect to this network location but to different names of workbook depends on present date?

Please help Guys,
Best Regards,
Jacek Antek
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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