VBA: Delete line from multiple text file in multiple child sub folder inside "myfolder1" if a given text "word1, word2, word3,....word10" found.
VBA: Delete line from multiple text file in multiple child sub folder inside "myfolder1" if a given text "word1, word2, word3,....word10" found.
And ... what are your problem and your question ?
And ... give us an example of such files.
I have multiple text files in mulple child folders. Now if in text files Text
word1: Spam
word2: Not Required
word3: Some time1#
is there then delete the line in each text file.
An example text file apper as:
----------------------------------------------------------
Text file name: profit-loss.txt
Line1:
Line2: Where are you ?
Line3:
Line4: excelfoum is great1#*8
Line5: Spam
Then delete the line with word Spam
Try:
Macro call, e.g.:Please Login or Register to view this content.
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks