How to make Word start IE and open the search engine website? PHP editor Xigua brings you a simple and easy method. This method can help you quickly access specific search engine websites, saying goodbye to the trouble of manually opening the browser and entering the URL. Read on for details below to learn how to use Word to launch IE and open a search engine website.
Open word and press the Alt F8 key combination to open the [Macro] window. Enter the name of the search engine in [Macro Name], such as [Baidu] (here is taking adding a network as an example, other search engines are established in a similar way), click the [Create] button to open the Visual Basic editor.
Enter the code between [Sub Baidu()] and [End Sub], click the [Save] button on the toolbar, and save the code in the [General] template.
Close the Visual Basic editor and return to the main interface of Word. Click the [Tools → Customize] menu command to open the [Customize] window, switch to the [Command] tab, and select [Category] 】, select [Macro], and select [Nomail.NewMacros.Baidu] in the [Command] on the right, and drag it to the appropriate position on the toolbar, right-click the button on the toolbar, select [Name], and give Give the button a name, such as: [Web Search], and close the [Customize] window after completion.
When you need to search for information on the Internet, just click the [Network Search] button on the toolbar, and IE will automatically open and the network search page will appear.
The above is the detailed content of How to launch IE in word to open a search engine website. For more information, please follow other related articles on the PHP Chinese website!