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: 158
Default Check for invalid file types?

I am using the FileDialog() function to let users select multiple
files. After the user chooses all their files and presses the
"Okay" button, my program loops to each chosen file.

Is there an effective way to test when a user chooses an
invalid file type? My users are only allowed to choose
plain text files, hopefully files ending in *.txt. I'm just
looking for ideas how to prevent users from choosing
files that contain non-text data.

Thank you!

Robert


 
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
Excel file types? Greg Snidow Excel Programming 3 February 20th 10 07:20 PM
How can I hide unused file types from file types list in save dial Estra Q Excel Discussion (Misc queries) 1 December 17th 09 12:36 PM
Excel 2007 error "some chart types cannot be combined with other chart types. Select a different chart types" roadsidetree Charts and Charting in Excel 15 June 2nd 09 10:53 AM
QPW file types lryan79 Excel Discussion (Misc queries) 1 October 16th 08 07:38 AM
Error:Invalid File format,while opening an Excel Template file Saurabh Excel Programming 1 January 17th 05 07:15 AM


All times are GMT +1. The time now is 06:55 AM.

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"