Sunday, February 21, 2010

Saving images from MS Word 2007

What's the easiest way to save images that are in an MS Word 2007 file?  Word 2007 changed the file format from .doc to .docx, which is really just a zip file (Like Java jar files).  Just change the file extension from .docx to .zip and then extract it with any Zip program (like Winzip).  Inside the extracted directory there is a sub-directory with all the graphics in the file along with XML files that describe the document.

[Tip from Graham Mayor]

Monday, February 1, 2010

MS Word Tip of the Day - Pasting unformatted text

If you copy and paste text from one document (or the internet) into an MS Word document, you've probably come across the formatting problem. When you paste the text it retains the formatting from the source document. I found a nice article on the MS site on how to create a work around which pastes unformatted text (refer to article at Microsoft site).

The idea is to create a macro that uses this line:
  • Selection.PasteSpecial DataType:=wdPasteText
Assign this macro to a key. I chose Ctrl+Shift+v so that Ctrl+v does a regular paste, and add "shift" for unformatted pasting.