Jump to content
Sign in to follow this  
roofninja

user to select a file for use

Recommended Posts

I did some searching for this but I didn't find an answer to my question, so here it is...

I am wanting to have the script to prompt the user to search or select the file to be used in this program. They are all going to be a .xls file but not always named the same thing.

I did find FileSelectFolder, which is great for finding a folder but not a file. Do I need to make a script to do this or is there a built in command I haven't found?

Thanks.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites

Are they all in a common directory? You could always use a FileOpenDialog and let them doubleclick on the file they want to use:

FileOpenDialog( "Select File", <directory you want them to look in>, "All (*.*)" ) ; you can trim this down to .xls, .txt, or whatever.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

Thanks. I haven't done much programming in the last few years. My job changed on me and I miss it and out of practice.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...