• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Word 2003 XML Hacks > 99. Use Google from Your Macros

Use Google from Your Macros

This hack shows you how to access Google from your Word macros.

With a bit of hacking, you can use the ubiquitous Google search engine without ever leaving Word. This hack shows you a simple macro that lets you input a new search query, then displays the first 10 sites that Google says match your query.

Setting Up the Google Web Service

While Google’s web site is a model of simplicity, it takes a bit of work to get to Google from your Word macros. Here are the steps you’ll need to take.

  1. First, install the free Microsoft Office 2003 Web Services Toolkit 2.01. Search for it on the Microsoft web site (http://www.microsoft.com/downloads/) or Google it.

  2. Next, create a new template to hold your Google-related macros. The Web Services Toolkit will create some code so you can work with Google. A separate template will help you keep track of the code. Create a new, blank document and save it as a document template named GoogleTools.dot.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint