Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default OPENING A FILE LOCATED IN A DIRECTORY DIFFERENT FROM CURRENT DIRECTORS

I have afile whose name is "PGAMBOSTON.xls" it is stord on the FDrive
in a directory named NAVE and this is the path.
"\\bosdatar1\sberke$\nave\PGAMBOSTON.XLS". I want to open this file
when I am on the C Drive. Would you please tell me how to open the
PGAMBOSTON file.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default OPENING A FILE LOCATED IN A DIRECTORY DIFFERENT FROM CURRENT DIRECTORS

try:
Workbooks.Open "\\bosdatar1\sberke$\nave\PGAMBOSTON.XLS"

in your VBA code



Francisco Mariscal
fcomariscal at hotmail dot com


-----Original Message-----
I have afile whose name is "PGAMBOSTON.xls" it is stord

on the FDrive
in a directory named NAVE and this is the path.
"\\bosdatar1\sberke$\nave\PGAMBOSTON.XLS". I want to open

this file
when I am on the C Drive. Would you please tell me how to

open the
PGAMBOSTON file.
.

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
Can a spreadsheet recognize the current directory it is in? Dable Excel Discussion (Misc queries) 5 April 20th 09 06:22 PM
open file in current directory Tomo Excel Worksheet Functions 1 January 12th 08 12:04 AM
open file in current directory Tomo Excel Discussion (Misc queries) 1 January 11th 08 11:48 PM
current directory Ross[_2_] Excel Discussion (Misc queries) 1 April 2nd 07 10:00 PM
Current Directory Mallasch Excel Discussion (Misc queries) 4 September 15th 06 03:05 AM


All times are GMT +1. The time now is 04:39 PM.

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

About Us

"It's about Microsoft Excel"