Dear Gerry, Thanks.I have sorted my problem in a different way. Instead of going for character count I designed a macro for replacing "." & linebreak together with page break. And it gave great results. Only 10% of document remained unformatted which I formatted manually.
Thanks again.
Thanks Gerry! You have understood and judge my problem correctly. Now how can we design a macro so that it runs the way we want ie. it recognizes small lines of character 55 or less and replace the line break by paragraph break. Please suggest any macro that works on the theme.
You are not understanding my problem. I have copied one document from PDF to word. As when copied, at the end of each line there was a paragraph break. So I replaced it with line break. Now instead of cheking whole document to insert paragraph breaks where they are needed, what I am trying to do...
I am trying to format pages of a document. In this document at the end of all lines there is line break. So what I am trying to do is that replace smaller lines with paragraph break and give it a look of different paragraph. So when ever there are shorter lines if line break is replaced by page...
I do not want to line wrapping. As some lines are of 85 characters. I want to remain that lines as it is and only replace smaller lines's line break by paragraph break. It is required in formatting.
I want to create a macro in which it recognizes all lines with characters 55 or less in a document and replaces its line break by paragraph break. What command shall I use?
How to use operators. I am learning VBA for word. I am trying to format a document. I designed a macro for it. It is running also well. But each time when the document changes I have to change certain values. As in "with selection.find .text = "abc" can I not specify in place of typing the text...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.