ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can VBA log into SAMBA (https://www.excelbanter.com/excel-programming/295894-can-vba-log-into-samba.html)

cogent

Can VBA log into SAMBA
 
Hello

I have a macro which calls files off of a Linux server. If I have not
already logged into SAMBA by opening a file manually, the VBA code fails.
When it tries to call the file, I get an error "Can't find".

Is there a way -- in conjunction with On Error Resume -- tht I can ensure
that if the macro runs, and Excel is not already logged into SAMBA, that it
will log itself in with the user and pword?

Thank you

W




All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com