PDA

View Full Version : [Help] VBA to modify the content of a text file.



Kuma
06-29-2016, 11:53 PM
Hello,

Would like to seek help to create a VBA to remove characters inside a txt file. Below are the contents of my txt file. a whole set of information is always grouped in four lines. I would like to remove the 4th digit(in Red Font Below) of the first line of every set.

0007123456789123456789
1234546
123456
12345
0006123456789123456789
1234546
123456
12345
00013123456789123456789
1234546
123456
12345
0008123456789123456789
1234546
123456
12345
0001535123456789123456789
1234546
123456
12345
0007123456789123456789
1234546
123456
12345
0006123456789123456789
1234546
123456
12345
0006123456789123456789
1234546
123456
12345
000456123456789123456789
1234546
123456
12345
00099123456789123456789
1234546
123456
12345
0008123456789123456789
1234546
123456
12345

Thank You very much..

Please also, I would like to learn VBA programming. Can you share me a link tutorial?