Be the first user to complete this post
|Add to List|
VBA-Excel: Working with Microsoft Word
You can do wonders with Microsoft Word using your excel, like creating a new word file, open an existing word file, saving it to specific location in your hard drive, print the word document, Add tables to your word document and many more.
Since its and external application, to deal with it first step would be get the instance of the word file or you can say create the Object of the word file using CreateObject Function.
Set objWord = CreateObject("Word.Application")
And that’s it Now you are all set to perform various operations.
In next few sessions you will see the following operations on Word using Excel.
- Create a new Word Document
- Open an Existing Word Document
- Writing Text in Word Document
- Create and save the word document
- Edit and Save an existing word document
- Appending Text to Word Document at Beginning
- Appending Text to an Existing Word Document - at the End
- Add/Insert a Image/Picture in Word Document
- Add/Insert multiple Images/Pictures from a folder in Word Document
- Open and Print the Word Document
- Format already written text in a word document – Format Paragraphs
- Format already written text in a word document – Format All Content
- Find a word in a specific paragraph and change its formatting
- Working with Bookmarks– Insert text After Bookmark
- Working with Bookmarks– Insert text Before Bookmark
- Get the Instance of already opened word document
- Enumerate all the opened word document
- Add Table and fill data to the Word document
- Format the Existing Table in a Word document
- VBA-Excel: Update XML File
- VBA-Excel: Convert Numbers (Rupees) into Words OR Text - Updated Till 1000000 Crore With Decimal Numbers
- Excel-VBA : Send Mail with Embedded Image in message body From MS Outlook using Excel.
- VBA-Excel: Appending Text to an Existing Word Document - at the End
- Excel-VBA : Send Unique Images Embedded to Mail Body, With Every Mail From MS Outlook using Excel.
- VBA-Excel: Format already written text in a word document – Format Paragraphs
- Excel-VBA : Send a Excel Workbook as Attachment in Mail From MS Outlook Using Excel
- VBA-Excel: Add/Insert a Image/Picture in Word Document