LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Dialog to set path

Hey all,

I can set a filename with

sFileName = Application.GetOpenFilename

Is there a similar way to set the path as a variable?

Currently I am using a command:

Set oDoc = oAPP.OpenDataDoc("C:\January\File.xls")

with a bunch of editting to File.xls

I would like to change this to

Set oDoc = oAPP.OpenDataDoc(strPATH + "File.xls")

where I have opened some sort of dialog to set the Path for the current month.

Thanks in advance,

Lance
 
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
specify default path in dialog open box Striker Excel Programming 1 August 12th 06 02:29 PM
dialog box to pick path & file dlh[_7_] Excel Programming 1 October 12th 05 04:36 AM
open dialog box for file path krhyme[_14_] Excel Programming 1 August 22nd 05 10:31 PM
GetOpenFilename Dialog default path Arthlan Excel Programming 1 June 3rd 04 09:19 PM
Getting the full path when from a File Open Dialog Box Ric Payne Excel Programming 3 July 10th 03 04:58 PM


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