check for presence of text file

G

glen.e.mettler

using 2003. I have a template MPP that I use to open an MPX file,
import tab delimited text via a map and then save as an MPP.

Problem. - I need to check for the presence of the text file. I can't
seem to find the right command - psuedo code:

open mpp template
check for text file (preferably a dialog box for user selection)
if found
import with predefined import map
else
alert user
endif

myfile = FileOpen()
produces a dialog that defaults to mpp files
myfile = FileOpen("*.txt")
produces an error

How can I get a dialog that shows the text files?

glen
 
M

Mike Glen

Hi Glen,

Try posting on the developer newsgroup as this one is closing down. Please
see FAQ Item: 24. Project Newsgroups. FAQs, companion products and other
useful Project information can be seen at this web
address:http://project.mvps.org/faqs.htm .

Mike Glen
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top