Posts Tagged ‘VBA’
How to Delete All Hyperlinks in a MS Word Document through VBA Macro
You can delete a hyperlink in a MS Word document by right-clicking on the link and, from the pop-up menu, select Remove Hyperlink. You can also get rid of a hyperlink by placing your cursor anywhere on the link and then pressing CTRL + SHIFT + F9. But what if you have hundreds or thousands…
Read MoreHow to View a List of All Open MS Word Documents through VBA Macro
You can switch from one open MS Word document to another by pressing CTRL + F6, in case you didn’t know. But what if you have 16 Word documents open for some reason and you’d like to know their total number and view their file names so that you can decide whether to switch to…
Read MoreHow to Print MS Word Comments as a Separate Document with VBA
Imagine you have a MS Word document thousands of pages long, a document with hundreds or thousands of review comments. If you’d like to see all the comments, together with their comment numbers and author, there is no easy way in Word to do that. Perhaps you’d like to send all the comments as a…
Read MoreHow to Program MS Word with VBA – An Introduction
Underneath MS Word’s unassuming document interface there is a very powerful code engine — VBA (Visual Basic for Applications). You can use VBA to program Word all kinds of things that are not possible to achieve by just using Word’s built-in menu functions. How to display VBA Editing Environment 1) Open your MS Word document…
Read More