跳到主要內容

如何在Excel中導入和連接網站?

您是否曾經嘗試將網站導入工作表並隨著Excel中網站的更改而不斷變化? 在這裡,我將介紹如何在Excel工作表中處理此工作。

在Excel工作表中導入並連接網站


在Excel工作表中導入並連接網站

要在Excel工作表中導入和連接網站,您可以執行以下操作:

1。 點擊 數據 > 來自網絡.
doc導入連接網站1

2.然後在 新網頁查詢 對話框中,輸入您要導入的網站地址 地址 文本框,然後單擊 Go 顯示網站。
doc導入連接網站2

3。 點擊 進口 導入數據 彈出對話框,選擇一個單元格或一個新的表格來放置網頁內容。 看截圖:
doc導入連接網站3

4。 點擊 OK。 現在,除圖像外的所有網頁內容均已導入到工作表中。
doc導入連接網站4

5.然後選擇整個工作表,然後單擊 數據 > 氟化鈉性能 ,在 連接 組。 看截圖:
doc導入連接網站5

6。 在裡面 外部數據范圍屬性 對話框中,根據需要檢查選項 刷新控制 部分並單擊 OK.
doc導入連接網站6

7.您也可以通過手動單擊刷新工作表內容 全部刷新 > 刷新全部/刷新.
doc導入連接網站7

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (8)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hello,
I am wondering about something.
I understand how to connect data from a webpage to Excel, through the URL. Although the URL gives access to one page on the net, but you can switch pages (all the results are not available in onepage, you need to click to the next page and so on). When i connect it to my Excel file, only the first page appears. How could I 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.
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
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
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 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
سلام ممنون از مطالب مفیدتون... اگر موقع اتصال و دانلود دیتا از سایت مورد نظر تقاضای username و password کرد و نداشتیم آیا راهی وجود داره؟ ممنونم
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations