Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default open excll from network

hi I have searched goggle for the answer but cant seem to
find it
is it possible to open an excel doc by a macro if you
don't not the drive letter i.e. c:\\
the reason I ask this is that I have an excel doc stored
on a network and I have mapped to this drive as d:\\ but
other people who have to use it have mapped to using a
different letter i.e. f:\\ , g:\\

Aneurin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default open excll from network

Yes, you can use the UNC
On my network I have templates in
Z:\Templates
others on the system may need access so I use
\\bhapps1\TechHackers\template

here bhapps1 is the server and "TechHackers" is
the "share"

You can see these in your file exploere. Right Click on
Start and select Explore. When File Explorer opens,
select Tools then 'Map Network Drive'. In the Drive
Dropdown, you will see the mapped drives and their full
unc path.

Patrick Molloy
Microsoft Excel MVP


-----Original Message-----
hi I have searched goggle for the answer but cant seem

to
find it
is it possible to open an excel doc by a macro if you
don't not the drive letter i.e. c:\\
the reason I ask this is that I have an excel doc stored
on a network and I have mapped to this drive as d:\\ but
other people who have to use it have mapped to using a
different letter i.e. f:\\ , g:\\

Aneurin
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default open excll from network

You may want to use CommonDialog control to show file open
dialog box. Is gives flexibility to browse through any
drives.


-----Original Message-----
hi I have searched goggle for the answer but cant seem to
find it
is it possible to open an excel doc by a macro if you
don't not the drive letter i.e. c:\\
the reason I ask this is that I have an excel doc stored
on a network and I have mapped to this drive as d:\\ but
other people who have to use it have mapped to using a
different letter i.e. f:\\ , g:\\

Aneurin
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default open excll from network

There's no need for the Common Dialog Control with Excel..

DIM F=sFileNAme as string
SFileNAme = Application.GetOpenFilename()

see help on this method

Patrick Molloy
Microsoft Excel MVP

-----Original Message-----
You may want to use CommonDialog control to show file

open
dialog box. Is gives flexibility to browse through any
drives.


-----Original Message-----
hi I have searched goggle for the answer but cant seem

to
find it
is it possible to open an excel doc by a macro if you
don't not the drive letter i.e. c:\\
the reason I ask this is that I have an excel doc

stored
on a network and I have mapped to this drive as d:\\

but
other people who have to use it have mapped to using a
different letter i.e. f:\\ , g:\\

Aneurin
.

.

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
XL2007 - Can't open a file that is in use on the network PCLIVE Excel Discussion (Misc queries) 0 February 4th 09 07:30 PM
Excel can't open network drive! Meneos Excel Discussion (Misc queries) 3 September 5th 08 12:43 PM
excel does not open file in network Bram Excel Worksheet Functions 0 August 21st 05 07:21 PM
Is workbook open anywhere in network? Miochael Bond Excel Programming 13 September 22nd 04 04:15 PM
excel template to open from network kurt Excel Programming 0 September 18th 03 12:42 PM


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