path problem

  • Thread starter Thread starter Joanne
  • Start date Start date
J

Joanne

I wrote (with mvp help, of course ;- }) a small app that I have now
installed on my work computer, which is on a network.
The IT guy set a path to drive P for me and that is where all my files and
app are located.
But my app throws an error that it cannot find the worksheets I am
requesting - so I moved all to drive C and lo and behold, I get the same
error.
Not sure I am asking this question in the right forum, just thought maybe
someone has run into this before and can give me a hint or two how to fix
it.
All help, as always, is much appreciated.
Joanne
 
In your code there must be a hardcoded reference to your computer, you can
change that by using the following syntax:
\\servername\Folder\Subfolder\youfile.xls

Note that you need double slash when using a server name.
 
Thank you all so much - I was not pointing to the server in my path. I'm
sure I will be good to go now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

path problem 1
Windows 11 Windows 11 update 5
Problem with file path to sharepoint 0
Downgrading from Windows 11 1
BT WiFi Fibre Broadband security 2
Not receiving forum emails 14
IPad Multiple Users 0
UNC path network performance 1

Back
Top