J
John W
I've posted this question before and gotten some good advice but I'm still
having trouble getting this to work. I am trying to import delimited files
that have different types of separators. The type of separators will
identify what table the data should go in. This is actually for ANSI health
care claims if anyone is familiar with them. The files will all be one
continuous line of text. The data will be something like this:
[Table1]field1*field2*field3:~CLM(start
table2)field1*field2*field3*CLM(table2,nextrecord)...etc
Sometimes the seperator will be a symbol (* : ~) and sometimes it will be a
set of text ("GS","HL",etc)
Can someone give me an example of how to use VBA to look for certain text
and then import data to the correct table while at the same time watching to
make sure the text doesn't meet the qualifications to go to the next table.
I've done research on this but haven't come across any examples that really
fit what I'm trying to do.
Thanks for the help!
having trouble getting this to work. I am trying to import delimited files
that have different types of separators. The type of separators will
identify what table the data should go in. This is actually for ANSI health
care claims if anyone is familiar with them. The files will all be one
continuous line of text. The data will be something like this:
[Table1]field1*field2*field3:~CLM(start
table2)field1*field2*field3*CLM(table2,nextrecord)...etc
Sometimes the seperator will be a symbol (* : ~) and sometimes it will be a
set of text ("GS","HL",etc)
Can someone give me an example of how to use VBA to look for certain text
and then import data to the correct table while at the same time watching to
make sure the text doesn't meet the qualifications to go to the next table.
I've done research on this but haven't come across any examples that really
fit what I'm trying to do.
Thanks for the help!