簡體   English   中英

從 Google 表格復制特定范圍並將值粘貼到 excel

[英]Copy specific range from Google Sheets & Paste the values to excel

這是我的第一篇文章&大家好

我正在使用 Excel 2003 而不是程序員 - 可以做一些基本的 VBA 編碼。

目標:(重現 Ctrl+C 從 Google Sheets & Paste special - Text to Excel 的效果)

使用 VBA 復制谷歌工作表的范圍“C2:E5”並將其值粘貼到 Excel 文檔中的范圍“O31:Q34”。 使用 Excel 中的按鈕會很好。

我嘗試關注幾個類似的帖子和線索: Script to copy range/cells value from Google Spreadsheet - paste in Excel

將數據從 Google 表格復制到 Excel

雖然有些人很有希望,但據我所知,這太超前了。 有沒有簡單的方法來復制該復制/粘貼? 先感謝您。-

編輯: excel 文件谷歌表始終保持打開狀態。 谷歌表的值每 15 秒左右更改一次,我手動使用復制/粘貼來傳輸它們。

首先:使用編輯器模式從谷歌分享您的電子表格,即: https://docs.google.com/spreadsheets/d/19285912859128591859-LIFFM/edit?usp=sharing

第二:使用“export?format and xlsx”編輯URL: https://docs.google.com/spreadsheets/d/19285912859128591859-LIFFM/export?format=xlsx

最后點擊 Excel 和上面的 URL 中的“從 Web 獲取數據”。 這就是你所需要的。 如果您需要更多信息,請詢問。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM