alin09
New member
- Sep 15, 2009
- 30
I try to use VBA to read and write a text file without using "Cells". How can I find a "word" in a text file and change this word and output another text file? For example, I want to find all "structural" in the following text file and change it to "nonstructural". Suppose that size of the file is too big to be imported into excel "Cells". Thanks a lot!
1000 temp abc 234 789 789
1000 temp rabc 234 789 673
1000 temp rabc 234 789 5653
1000 temp abc 234 789 343
......................
......................
2000 structural mechanical
3000 static analysis attach
200 mechanical dynamic
........................
structural..............
........................
1000 temp abc 234 789 789
1000 temp rabc 234 789 673
1000 temp rabc 234 789 5653
1000 temp abc 234 789 343
......................
......................
2000 structural mechanical
3000 static analysis attach
200 mechanical dynamic
........................
structural..............
........................