Welcome

My name’s Rose Vines. I’m an Australian writer, editor and activist, working in New Orleans. I write for computer magazines in Australia and the US and act as the technical dogsbody for the Death Penalty Discourse Network and Sister Helen Prejean. I’m interested in making technology accessible to people and helping people use technology to make the world a better place.

I’m also a sponsor of four girls at the Mehan Orphanage run by the extraordinary Afghan organisation, AFCECO. I’ve built a website for AFCECO sponsors, called Hope for Afghan Children.

Subscribe

feed-icon32x32.pngSubscribe via blog reader

 

email_small.jpg Subscribe via email

 

Bookmark and Share

Show your support

If you find the articles on Geekgirl’s blog and website useful and would like to show your appreciation, please think about making a donation to the AFCECO orphanages in Afghanistan, or consider becoming a child sponsor. These orphanages don’t just provide food and shelter for hundreds of girls and boys, they provide education and an environment of mutual respect. They are raising a generation of Afghan leaders.

Visit Hope for Afghan Children to learn more, or click one of the buttons below to make a donation directly.

 

 

This area does not yet contain any content.
Search

Sponsors

Bits & Pieces
« Tip: Delete the open document in Microsoft Word | Main | Tip: Using Microsoft Word's spike to rearrange text »
Sunday
20Jul2008

Tip: Automatically open last edited document in Word

If you frequently find yourself wanting to edit the same document you were using in your last Word session, you can create a shortcut which does just this, using a command-line switch.

Here’s how:

  1. Right-click an empty spot on your desktop and choose New -> Shortcut from the pop-up menu.
  2. Click the Browse button and locate the winword.exe program. If you installed Word in the default folder and you’re using Word 2003, you’ll find it in C:\Program Files\Microsoft Office\Office11; if you’re using Word 2007, it’s in C:\Program Files\Microsoft Office\Office12. Click winword.exe when you locate it and then click Open. Windows will automatically fill the location box with the full pathname surrounded by quotation marks.
  3. Click within the location box and, after the closing quotation marks, add a space followed by /mfile1, then click Next.
  4. Give your shortcut a name, such as Last Word, and click Finish.
  5. If you like, drag your newly created shortcut onto the Quick Launch bar to the right of the Start button to make it easier to use.

Put them somewhere handy

I like to place both shortcuts side by side in the Quick Launch bar: the normal Word shortcut and my Last Word shortcut. That way, I can choose whether to launch Word with a blank document or with the last-edited document pre-loaded. I distinguish between the two by altering the icon for the Last Word shortcut:
  1. Right-click the Last Word shortcut and select Properties from the pop-up menu.
  2. On the Shortcut tab, click Change Icon.
  3. Click one of the alternative icons and click OK.

Almost the same thing with a macro

Note that it’s also possible to open the last-edited document using a macro, but this method has the drawback of making Word always launch with that document loaded. If that’s what you want to do, here’s how to create the macro:

  1. Press Alt+F8 to display the Macros dialog.
  2. Type AutoExec in the Macro Name box and click Create. The Visual Basic Editor will load.
  3. In the code window on the right, you’ll see that Word has automatically created a code stub for the AutoExec macro. Between the Sub AutoExec() and End Sub statements, on a line by itself, type:

RecentFiles(1).Open

  1. Close the Visual Basic editor.

The commands you stick in a macro named AutoExec run automatically whenever you launch Microsoft Word, so creating this AutoExec macro will open the most recently edited document every time you launch Word.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.