LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Muk Muk is offline
external usenet poster
 
Posts: 10
Default File Open Dilog Box with Filter

Hi!

I want take user's input for selection of file and for the same I am trying
to open File open Dilog Box using the filters (i.e .dbf; .p3; .xls) for the
input.

I used to do like this but now I am not able to do with same

CommonDialog1.Filename = ".P3"
CommonDialog1.ShowOpen
string1 = Len(CommonDialog1.FileTitle)
temp1 = CommonDialog1.Filename
dirpath = Mid(temp1, 1, Len(temp1) - string1 - 1)
txt_ppath = dirpath
txt_network = Left(CommonDialog1.FileTitle, 4)

Will you help me how can I do this

 
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
In Excel - Use Windows Explorer instead of File Open to open file KymY Excel Discussion (Misc queries) 1 August 5th 06 09:59 PM
Open a file do a macro ( made) and open next succesive file SVTman74 Excel Programming 5 April 21st 06 10:14 PM
Open File or Switch Between Windows if File is Open Ricky Pang Excel Programming 2 July 8th 05 05:51 AM
Open File or Switch Between Windows if File is Open Ricky Pang Excel Programming 0 July 2nd 05 08:41 PM
Open File Dialog Filter Nigel Excel Programming 6 March 23rd 05 06:24 PM


All times are GMT +1. The time now is 11:25 AM.

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"