Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Open a workbook in VBA using UNC pathname

In VBA I need to open a workbook using the UNC pathname. Right now the code is:
mfdate = FileDateTime("HG Equipment Tracking Matrix.xls")

I need to add the UNC pathname to the file name. Nothing seems to work. The UNC pathname is:
\\beavertn-nas-06\twikle\

What is the right code to make this work?
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
How to change the default caption of a workbook to the full pathname? SteveM Excel Programming 2 December 26th 07 03:34 PM
How do use listed pathname to link values from another workbook? simplymidori[_2_] Excel Discussion (Misc queries) 1 July 19th 07 07:03 AM
Using a variable name as part of a file pathname to open many files trickydick Excel Programming 1 December 11th 03 08:10 PM
Extract Workbook name from pathname ? Don Wiss Excel Programming 4 September 30th 03 01:48 PM
LoadPicture Pathname or no Pathname Philipp Schramek Excel Programming 1 July 8th 03 03:30 PM


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