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


I am writing a number of files for use by staff over our network. Th
problem I have is that the same Drive letter has not been given to al
users and one file opens another by the following code:

ChDrive "L"
ChDir "L:\Community Dividend\New Payments\Regions"
Workbooks.Open "Payment Details\C&E.xls", UpdateLinks:=True

The server is called cash on 'fiesta' and I have tried changing L t
this, to no avail.

Any help greatly appreciated.

Nic

--
Nick
-----------------------------------------------------------------------
Nick S's Profile: http://www.excelforum.com/member.php...fo&userid=1651
View this thread: http://www.excelforum.com/showthread.php?threadid=39500

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


Instead of changing drives, why not just use the full UNC path to the
file?:

Example:
DIM strPath as string

strPath = "\\Fiesta\Cash\Community Dividend\New
Payments\Regions\Payment
Details\"

Workbooks.Open strPath & "C&E.xls", UpdateLinks:=True


Something you can work with?

Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=395002

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Network Drives


Worked like a drea

--
Nick
-----------------------------------------------------------------------
Nick S's Profile: http://www.excelforum.com/member.php...fo&userid=1651
View this thread: http://www.excelforum.com/showthread.php?threadid=39500

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
Mapped vs Network drives Greg Excel Worksheet Functions 2 January 12th 10 07:16 PM
Hyperlinking on Network drives mmc308 Excel Worksheet Functions 2 February 20th 07 01:53 PM
Network Drives Keith New Users to Excel 2 July 6th 06 10:38 PM
Logging on to network drives automatically. YiFai Excel Programming 1 June 28th 04 06:39 PM
Network drives [email protected] Excel Programming 0 July 17th 03 04:37 AM


All times are GMT +1. The time now is 05:16 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"