Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default Network Drives

I have a number of Excel files on a network server which it is mapped on my
PC as the 'H' drive, however for some users this drive is mapped as their
'K' drive. I have created links to various Access databases for which they
auto update when I open the Excel spreadsheets. However when users (who see
the drive as 'K') try to open this file, they get an error stating that the
file cannot be found.

I have the same problem to some degree with macros which need to open or
update other spreadsheets. Is there a way to specify the server name and
full path rather than H:\Sales\spreadsheet.xls etc?

Thanks for your help


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 173
Default Network Drives

Keith,

You could try making your code use the full network path of the files you
want to link to:

e.g You have a network drive called 'H' which is actually a folder called
'ExcelFiles' on a server called 'Netserver'

Now, as you rightly say, if your code says to go to h:\sales\spreadsheet.xls
and other users have it mapped as a different drive letter then the code will
fail.

If you change your code to say, \\Netserver\ExcelFiles\sales\spreadsheet.xls
then all users will be able to run th code, no matter what their drive
mappings may be.

You may need to enlist the help of your IT dept or system admin to get the
full network path name.

HTH

Neil
www.nwarwick.co.uk

"Keith" wrote:

I have a number of Excel files on a network server which it is mapped on my
PC as the 'H' drive, however for some users this drive is mapped as their
'K' drive. I have created links to various Access databases for which they
auto update when I open the Excel spreadsheets. However when users (who see
the drive as 'K') try to open this file, they get an error stating that the
file cannot be found.

I have the same problem to some degree with macros which need to open or
update other spreadsheets. Is there a way to specify the server name and
full path rather than H:\Sales\spreadsheet.xls etc?

Thanks for your help



  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,203
Default Network Drives

What Neil said! That's the best way in the end for most users. Unless you
have a company policy that says "map this that way, and that this way, and
always use R for ..." then you are always faced with the problem, even when
providing simple links to files on the network via email. Using the full
network path and filename resolves all of those issues.

"Neil" wrote:

Keith,

You could try making your code use the full network path of the files you
want to link to:

e.g You have a network drive called 'H' which is actually a folder called
'ExcelFiles' on a server called 'Netserver'

Now, as you rightly say, if your code says to go to h:\sales\spreadsheet.xls
and other users have it mapped as a different drive letter then the code will
fail.

If you change your code to say, \\Netserver\ExcelFiles\sales\spreadsheet.xls
then all users will be able to run th code, no matter what their drive
mappings may be.

You may need to enlist the help of your IT dept or system admin to get the
full network path name.

HTH

Neil
www.nwarwick.co.uk

"Keith" wrote:

I have a number of Excel files on a network server which it is mapped on my
PC as the 'H' drive, however for some users this drive is mapped as their
'K' drive. I have created links to various Access databases for which they
auto update when I open the Excel spreadsheets. However when users (who see
the drive as 'K') try to open this file, they get an error stating that the
file cannot be found.

I have the same problem to some degree with macros which need to open or
update other spreadsheets. Is there a way to specify the server name and
full path rather than H:\Sales\spreadsheet.xls etc?

Thanks for your help



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
Excel file with hyperlinks takes a long time to open over the network Didier P Links and Linking in Excel 3 July 4th 06 04:39 PM
Why does an Excel Recalc cause traffic over Network ? toc57 Excel Discussion (Misc queries) 0 May 12th 06 03:16 AM
Linked cells and Mapped Network Drives James McDowell Excel Worksheet Functions 3 May 10th 06 06:42 PM
Connecting to a network drive using VBA Sri Excel Discussion (Misc queries) 0 June 7th 05 01:45 PM
Why does Help go to network? How to avoid it? [email protected] Excel Discussion (Misc queries) 5 March 11th 05 02:17 PM


All times are GMT +1. The time now is 11:01 PM.

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"