
Obtain File Names for VB Process
Currently, I use the code below to send the referenced
files through a macro "wash" procedure for importation
into Access. However, other organizations have asked for
a copy of my whole process. As a result, I need code that
will look in a specified location, obtain the names of all
the files and then process them through the "Wash"
procedure.
All help would be appreciated.
Chris Premo
***********************************************************
Call NLMFileFix("ARIES.TXT")
Call NLMFileFix("ATHENA.TXT")
Call NLMFileFix("ATLAS.TXT")
Call NLMFileFix("DAPHNE.TXT")
Call NLMFileFix("GEMINI.TXT")
Call NLMFileFix("HELEN.TXT")
Call NLMFileFix("HERA.TXT")
Call NLMFileFix("HERCULES.TXT")
Call NLMFileFix("LAUNCHPAD.TXT")
Call NLMFileFix("MARLEY.TXT")
Call NLMFileFix("MEDBD01.TXT")
Call NLMFileFix("MEDBD02.TXT")
Call NLMFileFix("MEDBD03.TXT")
Call NLMFileFix("MEDBD04.TXT")
Call NLMFileFix("MEDBD06.TXT")
Call NLMFileFix("POSEIDON.TXT")
Call NLMFileFix("TRITON.TXT")
Call NLMFileFix("VENUS.TXT")
Call NLMFileFix("ZEUS.TXT")
Application.Quit
*******************************************************