Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Modules daovba ado > Extract variabl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1482 of 1609
Post > Topic >>

Extract variables from FIle name

by =?Utf-8?B?QnJ1Y2U=?= <Bruce@[EMAIL PROTECTED] > May 27, 2008 at 03:35 AM

Hi,

I have the following code that reads the context of my directory.

impdir = CurrentProject.Path & "\Im****t\"
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
 




 2 Posts in Topic:
Extract variables from FIle name
=?Utf-8?B?QnJ1Y2U=?= <  2008-05-27 03:35:01 
Re: Extract variables from FIle name
"Douglas J. Steele&q  2008-05-27 07:15:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:56:07 CST 2008.