Hello,
How to remove the line in word automation
I am using the word activity in that we have a primary name and secondary name is there hear the primary name is compulsory and secondary is not but sometimes secondary name also come some times so am using hear if-condition You just look the screenshot you will get but hear the thing is I don’t want that empty line so anyone tells how to remove the empty line.
Great to hear! The ^p is for the “line break” (technically it’s the paragraph mark). So when replacing "^pDuck" with "", you remove the text Duck but also the line break before the text.
You can find more special characters in Word, by clicking on the Special button in Search and Replace dialog box.