VBA-Excel: Format already written text in a word document – Format All Content
To Format already written text in a word document – Format All Content Microsoft Word Document using Microsoft Excel, you need to follow the steps below:
- Create the object of Microsoft Word
- Create Doc object using MS word object, Open the existing word document by providing the complete path
- Make the MS Word visible
- Create a Selection object with the help of WordObject.
- Select the Whole content in the word document
- Do the formatting
- Save the word document
- Close the word document
Read moreVBA-Excel: Format already written text in a word document – Format All Content