View Single Post
 
Old 05-19-2019, 06:59 AM
enso enso is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2017
Posts: 7
enso is on a distinguished road
Default Delete lines with just a number on them - use macro or find & replace?

I have a document and many lines have just a number on them and I want to delete these numbers. They are not the same number, and there are numbers on lines with other text that I do not want to delete.


I tried using find and replace with wildcard elements to find the numbers, but one cannot use new paragraph codes with a wildcard search. I can't figure out how to find the numbers that are on a line by themselves and exclude numbers that are on lines with text.


If this is possible, please clue me in; many thanks!
Reply With Quote