Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 127
Default Using GetOpenFilename

Excel 2007. How do I use the .GetOpenFilename method to open a selection
dialog that shows all possible Excel files (like *.xls, *.xlsx, *.xlb, etc.)?
Right now I use:

FName = Application.GetOpenFilename("Excel Files (*.xls), *.xls", , Prompt,
, MultiFileSelect)
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 127
Default Using GetOpenFilename

I figured it out. I now use:

FName = Application.GetOpenFilename("Excel Files (*.xl*), *.xl*", , Prompt,
, MultiFileSelect)

--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org


"Chaplain Doug" wrote:

Excel 2007. How do I use the .GetOpenFilename method to open a selection
dialog that shows all possible Excel files (like *.xls, *.xlsx, *.xlb, etc.)?
Right now I use:

FName = Application.GetOpenFilename("Excel Files (*.xls), *.xls", , Prompt,
, MultiFileSelect)
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Using GetOpenFilename

Hi,

The help file says.

To use multiple MS-DOS wildcard expressions for a single file filter
type, separate the wildcard expressions with semicolons; for example,
"Visual Basic Files (*.bas; *.txt),*.bas;*.txt".

Cheers
Andy

Chaplain Doug wrote:
Excel 2007. How do I use the .GetOpenFilename method to open a selection
dialog that shows all possible Excel files (like *.xls, *.xlsx, *.xlb, etc.)?
Right now I use:

FName = Application.GetOpenFilename("Excel Files (*.xls), *.xls", , Prompt,
, MultiFileSelect)

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Using GetOpenFilename

For a GetSaveAsFileName example for 2007 see example 2 on this page
http://www.rondebruin.nl/saveas.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Chaplain Doug" wrote in message ...
I figured it out. I now use:

FName = Application.GetOpenFilename("Excel Files (*.xl*), *.xl*", , Prompt,
, MultiFileSelect)

--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org


"Chaplain Doug" wrote:

Excel 2007. How do I use the .GetOpenFilename method to open a selection
dialog that shows all possible Excel files (like *.xls, *.xlsx, *.xlb, etc.)?
Right now I use:

FName = Application.GetOpenFilename("Excel Files (*.xls), *.xls", , Prompt,
, MultiFileSelect)
--
Dr. Doug Pruiett
Good News Jail & Prison Ministry
www.goodnewsjail.org


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
GetOpenFileName Tomski[_4_] Excel Programming 3 October 4th 05 03:34 PM
GetOpenFileName with F*.txt DRK Excel Programming 6 June 7th 05 12:45 PM
GetOpenFilename Roman Excel Programming 5 February 8th 05 10:20 PM
GetOpenFilename Todd Htutenstine Excel Programming 2 May 13th 04 03:14 PM
getopenfilename inquirer Excel Programming 1 December 3rd 03 11:37 AM


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