Hi! I’m trying to help my coworker to create a database. They are receiving e-mail with some data that they want to transfer to access database to track. The one think they can do is copy past, copy paste… That is a lot of data to copy and paste. The date looks like this format
Field1
Text1
Field2
Text2 (text2 can be more than 255 char)
Field3
Text3 (text3 can be more than 255 char)
Field4
Text4
Field1
Text1
Field2
Text2 (text2 can be more than 255 char)
Field3
Text3 (text3 can be more than 255 char)
Field4
Text4
and so on.. It can be 50 records
I’m thinking they can copy this to the text file. Then the code form Access grabs the text file and imports to access table with format below. Can you please help me to create VBA code, I would really appreciate.
Field1 Fied2 Field3 Field4
Text1 Text2 Text3 Text4
Field1
Text1
Field2
Text2 (text2 can be more than 255 char)
Field3
Text3 (text3 can be more than 255 char)
Field4
Text4
Field1
Text1
Field2
Text2 (text2 can be more than 255 char)
Field3
Text3 (text3 can be more than 255 char)
Field4
Text4
and so on.. It can be 50 records
I’m thinking they can copy this to the text file. Then the code form Access grabs the text file and imports to access table with format below. Can you please help me to create VBA code, I would really appreciate.
Field1 Fied2 Field3 Field4
Text1 Text2 Text3 Text4