Note: The other languages of the website are Google-translated. Back to English
English English

How to import and connect a website in Excel?

Have you ever tried to import a website into a sheet and keep changing as the website changes in Excel? Here, I introduce how to deal with this job in an Excel sheet.

Import and connect a website in Excel sheet


Import and connect a website in Excel sheet

To import and connect a website in an Excel sheet, you can do as these:

1. Click Data > From Web.
doc import connect website 1

2. Then in the New Web Query dialog, type the website address you want to import into Address textbox, and click Go to display the website.
doc import connect website 2

3. Click Import, and the Import Data dialog pops out for selecting a cell or a new sheet to place the webpage content. See screenshot:
doc import connect website 3

4. Click OK. Now all webpage content excluding images have been imported in the sheet.
doc import connect website 4

5. Then select the whole worksheet, and then click Data > Properties in the Connections group. See screenshot:
doc import connect website 5

6. In the External Data Range Properties dialog, check the options as you need in Refresh control section and click OK.
doc import connect website 6

7. Also you can refresh the sheet contents by manually clicking on Refresh All > Refresh All/Refresh.
doc import connect website 7


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
سلام ممنون از مطالب مفیدتون... اگر موقع اتصال و دانلود دیتا از سایت مورد نظر تقاضای username و password کرد و نداشتیم آیا راهی وجود داره؟ ممنونم
This comment was minimized by the moderator on the site
Thank you so much, I have searching the web all over for this. YOU SERIOUSLY ROCK!!!!! Love from Kansas, US.
This comment was minimized by the moderator on the site
I have an OPENED web site and I'd like to jump from a worksheet into that web site, without having to open it again. I'm trying to paste a number of IDs into a field in the Web site to look up their email and address but since I am limited to only 75 ids at a time I need to bounce back and forth copying 75 ids from the worksheet, jump into the web site, paste the data (and look up their information and save it as a PDF), then jump back to the Excel worksheet to copy the next 75 ids, again and again. How can I do this?
This comment was minimized by the moderator on the site
Thank you for your quick reply. Unfortunately, I am trying to jump to the already opened website from within a VBA macro to automate the process. Thanks for trying.
This comment was minimized by the moderator on the site
To clarify my request a bit. I have cell F1 which contains the code to Link to a website. In my macro, I execute: Range("F1").Hyperlinks(1).Follow and the link is opened. I minimize it after I have done what I need to do in the website and that gets me back into the macro. A few instructions later I am trying to jump back to the url but cannot do so without issuing the same command: Range("F1").Hyperlinks(1).Follow which open another screen but all I want to do is redisplay the already open url. Can't figure it out.
This comment was minimized by the moderator on the site
Hi, Roger Plant, sorry that there is no way to do this.
This comment was minimized by the moderator on the site
Sunny, thanks for the reply. Indicating that it couldn't be done gave me the incentive to "make it happen". With a combination of "AppActivate" and "Sendkeys" commands, I was able to accomplish my task of jumping from an Excel VBA macro where I copied a list of IDs over to a Chrome link where I pasted those IDs to get information about them, and then jump back to Excel to get the next batch of IDs. It's not the most efficient code BUT it does what I want very nicely. Thanks.
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations