Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default path problem

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default path problem

Try this
\\ServerName\PathtoFolfer\Book1.xls

"Joanne" wrote:

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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 791
Default path problem

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.
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.




"Joanne" wrote:

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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 121
Default path problem

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.

Joanne wrote:

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
path problem Joanne Excel Programming 1 August 16th 07 04:49 PM
Path problem Jay Northrop Excel Programming 2 July 6th 05 03:44 AM
Dir Path Code Problem Todd Huttenstine Excel Programming 2 April 1st 04 11:27 PM
Personal.XLS path problem Lenonardo Excel Programming 2 January 10th 04 05:39 PM
SendKeys and Path Problem rdcord Excel Programming 3 September 11th 03 06:12 PM


All times are GMT +1. The time now is 10:21 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"