I'd like to search and delete not needed parts in a text file. Using this macro I get the following error message:
Run-time error '91'
Object variable or With block variable not set
I tried to use the shorter form (Cells.Find(What:=AString)
but the result was the same.
Please help me. Any suggestions appreciated.