
Press the play button at the top of the window (the green triangle) to run the script. For instance, to italicise and underline some text, the following code will work: . Customise the script by deleting the sample text (.Text 'et al') and replacing it with the text string that you want italicised. For instance, this will remove the bold format from the text string: .Bold = Falseįinally, multiple formats can be stacked in the script. Likewise, to remove a format the parameter can be switched to “false”.

'Insert the text string that needs to be italicised Insert the following code into the module: Sub ItaliciseText()

All test files where xml formats.Inserting a module in Visual Basic for Applications. In other words, if a text box is used for placement. You should realize that this macro removes all of the text boxes and their contents. On both versions the default settings for Smart Copy/Paste and Cut, Copy, Paste we in effect. The following macro will quickly remove all text boxes in your document: Sub RemoveTextBox1 () Dim shp As Shape For Each shp In ActiveDocument.Shapes If shp.Type msoTextBox Then shp.Delete Next shp End Sub.

Regardless of the Show Tracking settings in the source document, the tracked changes DO NOT transfer from the source Word document to the destination Word document.Paste Unformatted DOES NOT eliminate the tracked changes and comments when pasting to a Word destination document.In all cases, source document tracked changes ALWAYS transfer to Note documents.Regardless of the Show Tracking setting in the Source document, comments ALWAYS carry over into the destination Word document.Regardless of the Show Tracking settings in the Source document, the tracked changes DO NOT transfer from the source Word document to the destination Word document.I just retested this Copy/Paste of Tracked Changes and Comments under Word 2011 for the Mac and Word 2010 for the PC.
