VBA For Word
- Automation: Article related to automating word documents:
- Automating Word From Excel: Explains how you can automate a word document from Excel using VBA.
- Open Document: Explains how you can open an existing word document using VBA.
- Apply Macro to Multiple Files: Explains how you can apply a macro to multiple word documents using VBA.
- Write Excel Values to Word Document: Explains how to write values from an excel workbook to a word document using VBA.
- Common Errors: Common errors when automating word documents using VBA.
- Split Word File into Multiple Files (Every X Pages): Explains how you can use VBA for word to split a word document into multiple documents every X pages.
- Split Word File into Multiple Files (Every X Lines): Explains how you can use VBA for word to split a word document into multiple documents every X lines.
- Cursor: Article related to the cursor. Moving the cursor, getting the cursor position, selecting text, …
- Move Cursor to Start of Document: Explains how you can move the cursor to the start of the document using VBA.
- Move Cursor to End of Document: Explains how you can move the cursor to the end of the document using VBA.
- Move Cursor to Start of Line: Explains how you can move the cursor to the start of the line using VBA.
- Move Cursor to End of Line: Explains how you can move the cursor to the end of the line using VBA.
- Select Text: Explains how to select a text in a document using VBA for Word.
- Get Current Line Number: Explains how you can get the current line number the cursor is on using VBA.
- Get Current Page Number: Explains how you can get the current page number the cursor is on using VBA.
- End of File: Explains how to check if the cursor has reached the end of a word document using VBA.
- Go to Specific Line: Explains how to send the cursor to a specific line in a word document using VBA.
- Misc:
- Bookmarks: Explains how you can use bookmarks to move the cursor to a specific location in the document using VBA.
- Date Format: Explains how to output dates in word document using different formats.
- Modify Header For Multiple Files: Explains how to modify the header for multiple word documents.
- Shape Index: Explains how the index of a shape in a word document is determined.
- Assign Shortcut Key to Macro: Explains how you can assign a shortcut key or key combination to a macro in word.
- Print Current Page: Explains how you can print the current page using VBA for word.
- Get Current File Path and Name: Explains how you can get the name and path of the current word document.
- Delete Page: Explains how to delete a page using VBA for Word.
- Read Write: Article related to reading and writing to a word document using VBA
- Read All Lines: Explains how can read all the lines in word document using VBA.
- Write Excel Values to Word Document: Explains how to write values from an excel workbook to a word document using VBA.
- Images: VBA related topics for working with images.
- Loop Through Images: Explains how you can use VBA to loop through the images in a word document.
- Get Picture Horizontal Position: Explains how you can use VBA to get the horizontal position of an image in a word document.
- Adding Caption to Images: Explains how to user VBA for word to add caption to images in a word document.
- Removing Picture Captions: Explains how you can use VBA for word to remove the caption from images in a word document.
- Re-Adjust Caption: After creating caption for images, if you move the image around, the caption may not necessarily follow. This article explains how you can use VBA for word to readjust the caption for images.
- Save Table as JPEG: Explains how you can use VBA for word to save a table in word as a jpeg image.
- Insert Images: Explains how you can insert images in a word document using VBA.
- Crop Images: Explains how you can crop images using VBA.
- Resize Pictures: Explains how to resize pictures in a word document using VBA.
- PictureFormat CropBottom, CropLeft, CropRight and CropTop: Explains how to crop images using the built in functions.
- OverFlow Error When Multiplying/Adding Integers: Under certain circumstances when doing arithmetic operations on integers in VBA for Word an overflow error might occur. This articles explains this error and how to avoid it.
- Picture Dimensions: Explains how to get a pictures dimensions using VBA for Word.
- Tables: Articles related to working with tables in VBA for Word
- Tables: Explains how you can modify a table in a word document using VBA.
- Table Insert/Remove Rows/Columns: Explains how to insert and remove row and columns from tables in a word document using VBA.
- Delete Empty Rows From Tables: Will loop through the rows of all tables in the document and delete all the empty rows.
- Equations: Articles related to working with equations in VBA for Word
- Equations Linear/Professional Display: Explains how you can change the display of equations from linear to professional and vice versa.
- Creating Equations: Explains how you can create equations using VBA for Word
- Changing the Font Format of Characters in an Equations: Explains how you can change the font format of a character or a series of characters in a word equation (change its color, font style, size, …) using VBA.
- Delete Equations: Explains how you can delete a word equation using VBA.
- Looping Through Equations: Explains how you can iterate through the equations in a word document.
- Get the Unicode Value of Each Character in the Equation: Explains how you can get an array of unicode values of all the characters in an equation.