View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default GetOpenFilename - How can you filter files starting with a letter...

Hi

Type 200003* and press Enter in The File Name box

--
Regards Ron de Bruin
http://www.rondebruin.nl


"rede96 " wrote in message ...
I am using the following code to open an .rtf document. I'd like the
dialog box to be able to show files that start with the number '200003'
only. Is this possible please?

FileToOpen = Application.GetOpenFilename("rtf Files (*.rtf),*.rtf")

I've tried lots of different ways but just can't figure it out. I've
also spent a few hours trying to find an example but to no avail.

Any help would be much appreciated.

TIA

Red.


---
Message posted from http://www.ExcelForum.com/