B
Bruce
Hi,
I have the following code that reads the context of my directory.
impdir = CurrentProject.Path & "\Import\"
strFile = (Dir(impdir & "*.csv"))
If strFile was equal to something like
strFile= "20080424 PNA.csv"
How could I extract the 20080424 as variable A and PNA as variable B. In
other words my files could be delimited by the space and the full stop in the
file name
Regards,
bruce
I have the following code that reads the context of my directory.
impdir = CurrentProject.Path & "\Import\"
strFile = (Dir(impdir & "*.csv"))
If strFile was equal to something like
strFile= "20080424 PNA.csv"
How could I extract the 20080424 as variable A and PNA as variable B. In
other words my files could be delimited by the space and the full stop in the
file name
Regards,
bruce