with files

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

Your code not pass ..
in:Filenames = Application.GetOpenFilename("test files
(test.*),test.*", , , True)
occur run-time error 1004:
Method 'GetOpenFilename' of object ' _Application' failed.
info:
I've files test.* in the same folder.
What doing GetOpenFilename?
i've excel and win 2k.
Regards
Mark
 
Mark,
It seems that function Excel function does not support using wildcards in
the extension. If you cannot get it to work, the API route will work.

NickHK
 
just skip the filter part in getopenfilename
-----Original Message-----
Your code not pass ..
in:Filenames = Application.GetOpenFilename("test files
(test.*),test.*", , , True)
occur run-time error 1004:
Method 'GetOpenFilename' of object ' _Application' failed.
info:
I've files test.* in the same folder.
What doing GetOpenFilename?
i've excel and win 2k.
Regards
Mark

.
 

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

Back
Top