Results 1 to 4 of 4

Thread: Search box in Excel 2003

  1. #1
    Join Date
    Aug 2009
    Posts
    51

    Search box in Excel 2003

    I wonder if anyone knows how can I create a search box in Excel to search in e.g. google search? Do text box and command button are what I need? I am having Office 2003 installed on my computer running Windows XP as operating system.

  2. #2
    Join Date
    Sep 2005
    Posts
    1,306

    Re: Search box in Excel 2003

    You can use Google Search Add-in on your Excel 2003 worksheet. Google Search puts a search tool where you want it and when you want it. Google Search provides a user friendly and intuitive interface that provides you with the Knowledge of how and where to search. To use the Google Search:

    1. Download and extract it to a local directory.

    2. Copy GoogleSearch.xla and the Access file to the following directory:

    local_drive:\Program Files\Microsoft Office\OfficeNumber\Library
    Note Depending on the version of Excel, the OfficeNumber directory may named Office or may include a version number.

    Once installed, to access it:
    3. Start Excel and open a workbook.
    4. Click Tools, click Add-Ins, Verify Google Search is checked in this list and then click OK.

    Source: rondebruin.nl

  3. #3
    Join Date
    Aug 2009
    Posts
    51

    Re: Search box in Excel 2003

    Thank you for your reply but Google was just an example. I thought it would give me the answer when it seeks the same way. I have a server with the drawings and to apply for these via the tag. If tagged the 1234 address will be www.server.com/1234. Here I would like to have a text box to type in your query and a button for search.

  4. #4
    Join Date
    Sep 2005
    Posts
    1,306

    Re: Search box in Excel 2003

    Put the TextBox and the command button from the ActiveX controls. Button code is:

    Code:
    Private Sub CommandButton1_Click () 
    If Me.TextBox1.Text = "" Then Exit Sub 'not-completed 
    ActiveWorkbook.FollowHyperlink "http://www.server.com/" & Me.TextBox1.Text 
    End Sub
    If you want to transfer this to Google Search, you need to check how the URL of a Google Search is built up. In the simplest form

    Code:
    ActiveWorkbook.FollowHyperlink "http://www.google.com/search?hl=en&source=hp&q=" & _ 
    Replace(Trim(Me.TextBox1.Text), " ", "+") & _
    "&aq=f&oq=&aqi=g10"

Similar Threads

  1. Excel 2003 Macro doesn't work in Excel 2007
    By jjaw in forum Windows Software
    Replies: 3
    Last Post: 03-01-2014, 03:28 PM
  2. Replies: 6
    Last Post: 17-02-2012, 01:18 PM
  3. Cell format errors appears in Excel 2003 but not in Excel 2000
    By @nki$achi in forum MS Office Support
    Replies: 1
    Last Post: 24-01-2012, 05:00 PM
  4. Exporting from Project 2007 to Word 2003 or Excel 2003
    By Jasper W in forum Microsoft Project
    Replies: 5
    Last Post: 20-04-2009, 11:52 PM
  5. Replies: 2
    Last Post: 16-04-2007, 10:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,462,486.88965 seconds with 16 queries