99999久久久久久亚洲,欧美人与禽猛交狂配,高清日韩av在线影院,一个人在线高清免费观看,啦啦啦在线视频免费观看www

熱線電話:13121318867

登錄
首頁精彩閱讀實(shí)時更新Excel文檔外部數(shù)據(jù)源的數(shù)據(jù)
實(shí)時更新Excel文檔外部數(shù)據(jù)源的數(shù)據(jù)
2016-03-05
收藏

實(shí)時更新Excel文檔外部數(shù)據(jù)源的數(shù)據(jù)

單元格區(qū)域、Excel 表、數(shù)據(jù)透視表或數(shù)據(jù)透視圖均可以連接到外部數(shù)據(jù)源(數(shù)據(jù)源:用于連接數(shù)據(jù)庫的一組存儲的“源”信息。數(shù)據(jù)源包含數(shù)據(jù)庫服務(wù)器的名稱和位置、數(shù)據(jù)庫驅(qū)動程序的名稱以及在登錄到數(shù)據(jù)庫時所需的信息。)??梢运⑿聰?shù)據(jù)以更新此外部數(shù)據(jù)源的數(shù)據(jù)。每次刷新數(shù)據(jù)時,均可以看到數(shù)據(jù)源中最新版本的信息,其中包括對數(shù)據(jù)進(jìn)行的任何更改。


安全性  當(dāng)前,您的計(jì)算機(jī)可能禁用了與外部數(shù)據(jù)的連接。要在打開工作簿時刷新數(shù)據(jù),必須使用“信任中心”欄以啟用數(shù)據(jù)連接,或者將工作簿放置在受信任位置。

打開工作簿時自動刷新數(shù)據(jù)

可以在打開工作簿時自動刷新外部數(shù)據(jù)區(qū)域,并可以選擇在保存工作簿時選擇不保存外部數(shù)據(jù),從而減小工作簿文件的大小。


  1. 單擊外部數(shù)據(jù)區(qū)域中的某個單元格。
  2. 在“數(shù)據(jù)”選項(xiàng)卡上的“連接”組中,單擊“刷新”旁邊的箭頭,然后單擊“連接屬性”。
  3. 單擊“使用狀況”選項(xiàng)卡。
  4. 選中“打開文件時刷新數(shù)據(jù)”復(fù)選框。
  5. 如果要在保存工作簿時保存查詢定義,但不保存外部數(shù)據(jù),請選中“保存工作表前,從查詢表中刪除外部數(shù)據(jù)”復(fù)選框。


注釋   要在打開工作簿時刷新數(shù)據(jù)透視表中的數(shù)據(jù),還可以使用“數(shù)據(jù)透視表選項(xiàng)”對話框的“數(shù)據(jù)”選項(xiàng)卡上“‘數(shù)據(jù)透視表數(shù)據(jù)’部分”下的“打開文件時刷新數(shù)據(jù)”。

刷新多個外部數(shù)據(jù)區(qū)域

在“數(shù)據(jù)”選項(xiàng)卡上的“連接”組中,單擊“刷新”旁邊的箭頭,然后單擊“全部刷新”。


如果有多個打開的工作簿,則必須在每個工作簿中單擊“全部刷新”以刷新外部數(shù)據(jù)。

刷新導(dǎo)入的文本文件中的數(shù)據(jù)


  1. 選擇包含導(dǎo)入文本文件的工作表。
  2. 在“數(shù)據(jù)”選項(xiàng)卡上的“連接”組中,單擊“刷新”旁邊的箭頭,然后單擊“刷新”。
  3. 在“導(dǎo)入文本文件”對話框中選擇文本文件,然后單擊“導(dǎo)入”。


定期自動刷新數(shù)據(jù)


  1. 單擊外部數(shù)據(jù)區(qū)域中的某個單元格。
  2. 在“數(shù)據(jù)”選項(xiàng)卡上的“連接”組中,單擊“刷新”旁邊的箭頭,然后單擊“連接屬性”。
  3. 單擊“使用狀況”選項(xiàng)卡。
  4. 選中“刷新頻率”復(fù)選框,然后輸入每次刷新操作之間的分鐘數(shù)。


刷新外部數(shù)據(jù)區(qū)域時要求密碼

存儲的密碼是不加密的,我們不建議您使用。如果您的數(shù)據(jù)源需要密碼 (密碼:一種限制訪問工作簿、工作表或部分工作表的方法。Excel 密碼最多可有 255 個字母、數(shù)字、空格和符號。在設(shè)置和輸入密碼時,必須鍵入正確的大小寫字母。)才能連接,那么您可以要求在刷新外部數(shù)據(jù)區(qū)域之前輸入密碼。此過程不適用于從文本文件 (*.txt) 或 Web 查詢 (*.iqy) 檢索的數(shù)據(jù)。

單擊外部數(shù)據(jù)區(qū)域中的某個單元格。

在“數(shù)據(jù)”選項(xiàng)卡上的“連接”組中,單擊“刷新”旁邊的箭頭,然后單擊“連接屬性”。

單擊“定義”選項(xiàng)卡。

清除“保存密碼”復(fù)選框。


注釋   Microsoft Office Excel 僅在每個 Excel 會話中首次刷新外部數(shù)據(jù)區(qū)域時提示輸入密碼。下次啟動 Excel 時,如果打開包含查詢的工作簿并嘗試進(jìn)行刷新操作,則會提示您再次輸入密碼。

數(shù)據(jù)分析咨詢請掃描二維碼

若不方便掃碼,搜微信號:CDAshujufenxi

數(shù)據(jù)分析師資訊
更多

OK
客服在線
立即咨詢
客服在線
立即咨詢
') } function initGt() { var handler = function (captchaObj) { captchaObj.appendTo('#captcha'); captchaObj.onReady(function () { $("#wait").hide(); }).onSuccess(function(){ $('.getcheckcode').removeClass('dis'); $('.getcheckcode').trigger('click'); }); window.captchaObj = captchaObj; }; $('#captcha').show(); $.ajax({ url: "/login/gtstart?t=" + (new Date()).getTime(), // 加隨機(jī)數(shù)防止緩存 type: "get", dataType: "json", success: function (data) { $('#text').hide(); $('#wait').show(); // 調(diào)用 initGeetest 進(jìn)行初始化 // 參數(shù)1:配置參數(shù) // 參數(shù)2:回調(diào),回調(diào)的第一個參數(shù)驗(yàn)證碼對象,之后可以使用它調(diào)用相應(yīng)的接口 initGeetest({ // 以下 4 個配置參數(shù)為必須,不能缺少 gt: data.gt, challenge: data.challenge, offline: !data.success, // 表示用戶后臺檢測極驗(yàn)服務(wù)器是否宕機(jī) new_captcha: data.new_captcha, // 用于宕機(jī)時表示是新驗(yàn)證碼的宕機(jī) product: "float", // 產(chǎn)品形式,包括:float,popup width: "280px", https: true // 更多配置參數(shù)說明請參見:http://docs.geetest.com/install/client/web-front/ }, handler); } }); } function codeCutdown() { if(_wait == 0){ //倒計(jì)時完成 $(".getcheckcode").removeClass('dis').html("重新獲取"); }else{ $(".getcheckcode").addClass('dis').html("重新獲取("+_wait+"s)"); _wait--; setTimeout(function () { codeCutdown(); },1000); } } function inputValidate(ele,telInput) { var oInput = ele; var inputVal = oInput.val(); var oType = ele.attr('data-type'); var oEtag = $('#etag').val(); var oErr = oInput.closest('.form_box').next('.err_txt'); var empTxt = '請輸入'+oInput.attr('placeholder')+'!'; var errTxt = '請輸入正確的'+oInput.attr('placeholder')+'!'; var pattern; if(inputVal==""){ if(!telInput){ errFun(oErr,empTxt); } return false; }else { switch (oType){ case 'login_mobile': pattern = /^1[3456789]\d{9}$/; if(inputVal.length==11) { $.ajax({ url: '/login/checkmobile', type: "post", dataType: "json", data: { mobile: inputVal, etag: oEtag, page_ur: window.location.href, page_referer: document.referrer }, success: function (data) { } }); } break; case 'login_yzm': pattern = /^\d{6}$/; break; } if(oType=='login_mobile'){ } if(!!validateFun(pattern,inputVal)){ errFun(oErr,'') if(telInput){ $('.getcheckcode').removeClass('dis'); } }else { if(!telInput) { errFun(oErr, errTxt); }else { $('.getcheckcode').addClass('dis'); } return false; } } return true; } function errFun(obj,msg) { obj.html(msg); if(msg==''){ $('.login_submit').removeClass('dis'); }else { $('.login_submit').addClass('dis'); } } function validateFun(pat,val) { return pat.test(val); }