{"id":96,"date":"2023-11-16T13:22:32","date_gmt":"2023-11-16T13:22:32","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/"},"modified":"2023-12-10T11:47:18","modified_gmt":"2023-12-10T11:47:18","slug":"%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528vba\u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-4019211744\"><script type=\"text\/javascript\">\r\n\tatOptions = {\r\n\t\t'key' : 'c1158f160081d6540a8409e6925dab94',\r\n\t\t'format' : 'iframe',\r\n\t\t'height' : 250,\r\n\t\t'width' : 300,\r\n\t\t'params' : {}\r\n\t};\r\n<\/script>\r\n<script type=\"text\/javascript\" src=\"\/\/www.highperformanceformat.com\/c1158f160081d6540a8409e6925dab94\/invoke.js\"><\/script><\/div> <p>\u8981\u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff0c\u5fc5\u987b\u4f7f\u7528 VBA \u7684 PROTECT \u65b9\u6cd5\u3002\u4f7f\u7528\u6b64\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u5bc6\u7801\uff0c\u751a\u81f3\u65e0\u9700\u5bc6\u7801\u5373\u53ef\u542f\u7528\u5de5\u4f5c\u7c3f\u4fdd\u62a4\u3002\u4f46\u662f\u5bf9\u4e8e\u60a8\u4f7f\u7528\u7684\u5bc6\u7801\uff0c\u60a8\u9700\u8981\u8003\u8651\u4e00\u4ef6\u4e8b\uff0c\u90a3\u5c31\u662f\u533a\u5206\u5927\u5c0f\u5199\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Workbook.Protect \"Password\"<\/code><\/pre><ol type=\"1\"><li>\u6307\u5b9a\u8981\u4fdd\u62a4\u7684\u5de5\u4f5c\u7c3f\u3002<\/li><li>\u70b9\u51fb\u5e76\u6307\u5411\u5e76\u4ece\u5217\u8868\u4e2d\u9009\u62e9\u4fdd\u62a4\u65b9\u6cd5\uff0c\u6216\u8005\u60a8\u53ef\u4ee5\u70b9\u51fb\u201c\u4fdd\u62a4\u201d\u3002<\/li><li>\u8f93\u5165\u60a8\u8981\u8bbe\u7f6e\u7684\u5bc6\u7801\u3002<\/li><li>\u8fd0\u884c\u4ee3\u7801\u4ee5\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002<\/li><\/ol><p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u5c06\u4ee5\u4e0d\u540c\u7684\u65b9\u5f0f\u5b66\u4e60\u6b64\u65b9\u6cd5\uff0c\u5e76\u5b66\u4e60\u5982\u4f55\u53d6\u6d88\u5de5\u4f5c\u7c3f\u4fdd\u62a4\u3002<\/p><p class=\"content-box-grey\"><em>\u6709\u7528\u7684\u94fe\u63a5\uff1a<a href=\"https:\/\/exceladvisor.org\/cn\/\u6267\u884c\u5b8f2\/\">\u8fd0\u884c\u5b8f<\/a>\u2013<a href=\"https:\/\/exceladvisor.org\/cn\/\u5f55\u5236\u5b8f\/\">\u5b8f\u8bb0\u5f55\u5668<\/a>\u2013 <a href=\"https:\/\/exceladvisor.org\/cn\/\u57fa\u672c\u53ef\u89c6\u5316\u7f16\u8f91\u5668\/\">Visual Basic \u7f16\u8f91\u5668<\/a>\u2013<a href=\"https:\/\/exceladvisor.org\/cn\/\u4e2a\u4eba\u5b8f\u7b14\u8bb0\u672c\/\">\u4e2a\u4eba\u5b8f\u624b\u518c<\/a><\/em><\/p><h2 class=\"wp-block-heading\">\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u5de5\u4f5c\u7c3f<\/h2><p>\u4ee5\u4e0b\u662f\u60a8\u9700\u8981\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u7684\u4ee3\u7801\u3002\u5728\u6b64\u4ee3\u7801\u4e2d\uff0c\u9996\u5148\u60a8\u6709\u5de5\u4f5c\u7c3f\u540d\u79f0\u548c\u5bc6\u7801\u4fdd\u62a4\u65b9\u6cd5\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Workbooks(\"Book1\").Protect \"test123\"<\/code><\/pre><p>\u5f53\u6211\u8fd0\u884c\u6b64\u4ee3\u7801\u65f6\uff0c\u5b83\u4f1a\u9501\u5b9a\u5de5\u4f5c\u7c3f\u201cBook1\u201d\u3002 <\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-53290\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png\" sizes=\"auto, \" srcset=\"\" alt=\"\u5b83\u9501\u5b9a book1 \u6587\u4ef6\u5939\" width=\"703\" height=\"282\"><\/figure><\/div><h3 class=\"wp-block-heading\">\u65e0\u9700\u5bc6\u7801\u5373\u53ef\u4fdd\u62a4\u5de5\u4f5c\u7c3f<\/h3><p>\u5982\u679c\u60a8\u60f3\u5728\u6ca1\u6709\u5bc6\u7801\u7684\u60c5\u51b5\u4e0b\u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff0c\u5219\u5e94\u8be5\u5ffd\u7565\u201c\u5bc6\u7801\u201d\u53c2\u6570\uff0c\u5c31\u50cf\u4e0b\u9762\u7684\u4ee3\u7801\u4e00\u6837\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Workbooks(\"Book1\").Protect<\/code><\/pre><p>\u5982\u679c\u60a8\u5c1d\u8bd5\u4fdd\u62a4\u5df2\u53d7\u5bc6\u7801\u4fdd\u62a4\u7684\u65e0\u5bc6\u7801\u5de5\u4f5c\u7c3f\uff0cExcel \u5c06\u663e\u793a\u4e00\u4e2a\u5bf9\u8bdd\u6846\u4ee5\u8f93\u5165\u8be5\u5bc6\u7801\u3002<\/p><h2 class=\"wp-block-heading\">\u4f7f\u7528\u5bc6\u7801\u53d6\u6d88\u5de5\u4f5c\u7c3f\u4fdd\u62a4<\/h2><p>\u540c\u6837\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 unprotect \u65b9\u6cd5\u53d6\u6d88\u5bf9\u5de5\u4f5c\u7c3f\u7684\u4fdd\u62a4\uff0c\u5176\u4ee3\u7801\u5982\u4e0b\u6240\u793a\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Workbooks(\"Book1\").Unprotect \"test123\"<\/code><\/pre><p>\u5982\u679c\u60a8\u5c1d\u8bd5\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff0c\u5219\u9700\u8981\u6ce8\u610f\u4e00\u4ef6\u4e8b<\/p><h3 class=\"wp-block-heading\">\u53d6\u6d88\u4fdd\u62a4\u6ca1\u6709\u5bc6\u7801\u7684\u5de5\u4f5c\u7c3f<\/h3><p>\u5982\u679c\u5de5\u4f5c\u7c3f\u4e0d\u53d7\u5bc6\u7801\u4fdd\u62a4\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528\u76f8\u540c\u7684\u65b9\u6cd5\u800c\u65e0\u9700\u6307\u5b9a\u5bc6\u7801\u53c2\u6570\u3002<\/p><h2 class=\"wp-block-heading\">\u4fdd\u62a4\u6240\u6709\u6253\u5f00\u7684\u5de5\u4f5c\u7c3f<\/h2><p>\u5728\u4e0b\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u6709<a href=\"https:\/\/exceladvisor.org\/cn\/\u5bf9\u4e8e\u5faa\u73af\/\">\u4e00\u4e2a FOR EACH \u5faa\u73af<\/a>\u6765\u5faa\u73af\u6240\u6709\u6253\u5f00\u7684\u5de5\u4f5c\u7c3f\uff0c\u5e76\u4f7f\u7528\u76f8\u540c\u7684\u4fdd\u62a4\u65b9\u6cd5\u9010\u4e00\u4fdd\u62a4\u6bcf\u4e2a\u5de5\u4f5c\u7c3f\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">'variable to use as a workbook Dim wb As Workbook 'loop through all the open workbooks For Each wb In Application.Workbooks 'condition to check workbook name If wb.Name &lt;&gt; \"PERSONAL.XLSB\" Then 'protect every workbook with a password wb.Protect \"test123\" End If Next wb End Sub<\/code><\/pre><p>\u7531\u4e8e\u6211\u4f7f\u7528\u7684\u662f\u4e2a\u4eba\u5b8f\u5de5\u4f5c\u7c3f\uff0c\u56e0\u6b64\u6211\u4f7f\u7528<a href=\"https:\/\/exceladvisor.org\/cn\/\u5982\u679c-2\/\">IF THEN ELSE \u8bed\u53e5<\/a>\u6765\u5ffd\u7565\u5de5\u4f5c\u7c3f\u540d\u79f0\u662f\u5426\u4e3a\u201c <a href=\"https:\/\/exceladvisor.org\/cn\/\u4e2a\u4eba\u5b8f\u7b14\u8bb0\u672c\/\">personal.xlsb<\/a> \u201d\u3002\u8fd8\u8981\u786e\u4fdd\u4f60\u7167\u987e\u597d\u5b83\u3002<\/p><h2 class=\"wp-block-heading\">\u4fdd\u62a4\u5173\u95ed\u7684\u5de5\u4f5c\u7c3f<\/h2><p>\u60a8\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u4fdd\u5b58\u5230\u67d0\u4e2a\u4f4d\u7f6e\u7684\u5df2\u5173\u95ed\u5de5\u4f5c\u7c3f\u3002\u8bf7\u770b\u4ee5\u4e0b\u4ee3\u7801\uff0c\u6211\u4f7f\u7528\u684c\u9762\u4f4d\u7f6e\u6765\u4f7f\u7528\u201ctest.xlsx\u201d\u6587\u4ef6\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_protect_workbook() 'declare varibale to use for the workbook Dim wb As Workbook 'open the workbook that you want to protect Set wb = Workbooks.Open(\"C:UsersDellDesktoptest.xlsx\") 'turn off the screen-updating to _ done everything in the backend Application.ScreenUpdating = False 'protect the workbook wb.Protect 'close the workbook after protecting wb.Close SaveChanges = True 'turn off the screen-updating Application.ScreenUpdating = True End Sub<\/code><\/pre><p>\u4e0a\u9762\u7684\u4ee3\u7801\u4f7f\u7528 Workbook.Open \u65b9\u6cd5\u6253\u5f00\u8981\u4fdd\u62a4\u7684\u5de5\u4f5c\u7c3f\uff0c\u7136\u540e\u7981\u7528\u5c4f\u5e55\u66f4\u65b0\u4ee5\u5728\u540e\u7aef\u5de5\u4f5c\u3002<\/p><h2 class=\"wp-block-heading\">\u4fdd\u62a4\u6587\u4ef6\u5939\u4e2d\u6240\u6709\u5df2\u5173\u95ed\u7684\u5de5\u4f5c\u7c3f<\/h2><p>\u4ee5\u4e0b\u4ee3\u7801\u5faa\u73af\u8bbf\u95ee\u60a8\u6307\u5b9a\u4e3a\u8def\u5f84\u7684\u6587\u4ef6\u5939\u4e2d\u7684\u6240\u6709\u5de5\u4f5c\u7c3f\u3002\u7136\u540e\u5c06\u6bcf\u4e2a\u6d3b\u9875\u5939\u6253\u5f00\u3001\u4fdd\u62a4\u5e76\u4e00\u4e00\u5408\u4e0a\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub vba_protect_all_the_workbooks() 'declare variables Dim wb As Workbook Dim myPath As String Dim myFile As String Dim myExtension As String Dim FldrPicker As FileDialog 'optimize macro Application.ScreenUpdating = False Application.EnableEvents = False Application.Calculation = xlCalculationManual 'specify the folder where workbooks are saved myPath = \"C:UsersDellDesktopfolder\" 'jump to reset setting if there's an error On Error GoTo ResetSettings 'target file fxtension (must include wildcard \"*\") myExtension = \"*.xls*\" 'target path myFile = Dir(myPath &amp; myExtension) 'Loop through each Excel file in folder Do While myFile &lt;&gt; \"\" 'Set variable equal to opened workbook Set wb = Workbooks.Open(Filename:=myPath &amp; myFile) 'protect workbook wb.Protect 'Save and Close Workbook wb.Close SaveChanges:=True 'Get next file name myFile = Dir Loop 'Message Box when task is completed MsgBox \"Done!\" 'reset setting that were change for optimization ResetSettings: Application.EnableEvents = True Application.Calculation = xlCalculationAutomatic Application.ScreenUpdating = True End Sub<\/code><\/pre><div class=\"gb-container gb-container-4db6181c gb-container-mt\"> <a class=\"gb-button gb-button-c5897111 gb-button-text gb-button-mt-button\" href=\"https:\/\/exceladvisor.org\/cn\/\u7ef4\u5df4\/\">\u4ec0\u4e48\u662fVBA<\/a><h2 class=\"gb-headline gb-headline-665e5f6b gb-headline-text gb-headline-mt-heading\">\u76f8\u5173\u6559\u7a0b<\/h2><div class=\"gb-grid-wrapper gb-grid-wrapper-a20baf7c gb-grid-wrapper-mt-grid\"><div class=\"gb-grid-column gb-grid-column-65ddf67e\"><div class=\"gb-container gb-container-65ddf67e\"><ul><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u590d\u5236-excel-\u6587\u4ef6\/\">\u4f7f\u7528 VBA \u590d\u5236 Excel \u6587\u4ef6\uff08\u5de5\u4f5c\u7c3f\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u6fc0\u6d3b\u5de5\u4f5c\u7c3f\/\">VBA\u6fc0\u6d3b\u5de5\u4f5c\u7c3f\uff08Excel\u6587\u4ef6\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5173\u95ed\u5de5\u4f5c\u7c3f\/\">VBA\u5173\u95ed\u5de5\u4f5c\u7c3f\uff08Excel\u6587\u4ef6\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u5408\u5e76\u5de5\u4f5c\u7c3f\/\">VBA \u5408\u5e76\u5de5\u4f5c\u7c3f\uff08Excel \u6587\u4ef6\uff09<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u521b\u5efa\u5de5\u4f5c\u7c3f\/\">VBA \u521b\u5efa\u4e00\u4e2a\u65b0\u5de5\u4f5c\u7c3f\uff08Excel \u6587\u4ef6\uff09<\/a><\/li><\/ul><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","footnotes":""},"class_list":["post-96","page","type-page","status-publish","hentry"],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u25b7 \u5982\u4f55\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f<\/title>\n<meta name=\"description\" content=\"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u6587\u4ef6\u6216...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/exceladvisor.org\/cn\/\u4fdd\u62a4\u5de5\u4f5c\u7c3f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u25b7 \u5982\u4f55\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u6587\u4ef6\u6216...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u4fdd\u62a4\u5de5\u4f5c\u7c3f\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:47:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/\",\"name\":\"\u25b7 \u5982\u4f55\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png\",\"datePublished\":\"2023-11-16T13:22:32+00:00\",\"dateModified\":\"2023-12-10T11:47:18+00:00\",\"description\":\"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u6587\u4ef6\u6216...\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u4f7f\u7528vba\u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"name\":\"Excel Advisor\",\"description\":\"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357\",\"publisher\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#organization\",\"name\":\"Excel Advisor\",\"url\":\"https:\/\/exceladvisor.org\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png\",\"width\":105,\"height\":36,\"caption\":\"Excel Advisor\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u25b7 \u5982\u4f55\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f","description":"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u6587\u4ef6\u6216...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/exceladvisor.org\/cn\/\u4fdd\u62a4\u5de5\u4f5c\u7c3f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u25b7 \u5982\u4f55\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f","og_description":"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u6587\u4ef6\u6216...","og_url":"https:\/\/exceladvisor.org\/cn\/\u4fdd\u62a4\u5de5\u4f5c\u7c3f\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:47:18+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/","url":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/","name":"\u25b7 \u5982\u4f55\u5728 Excel \u4e2d\u4f7f\u7528 VBA \u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png","datePublished":"2023-11-16T13:22:32+00:00","dateModified":"2023-12-10T11:47:18+00:00","description":"\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u5bc6\u7801\u4fdd\u62a4\u548c\u53d6\u6d88\u4fdd\u62a4\u5de5\u4f5c\u7c3f\u3002\u8fd8\u53ef\u4ee5\u4fdd\u62a4\u6587\u4ef6\u6216...","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-il-verrouille-le-classeur-book1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e4%bf%9d%e6%8a%a4%e5%b7%a5%e4%bd%9c%e7%b0%bf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u4f7f\u7528vba\u4fdd\u62a4\u5de5\u4f5c\u7c3f\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/exceladvisor.org\/cn\/#website","url":"https:\/\/exceladvisor.org\/cn\/","name":"Excel Advisor","description":"\u60a8\u7684\u6570\u636e\u7edf\u6cbb\u7ec8\u6781\u6307\u5357","publisher":{"@id":"https:\/\/exceladvisor.org\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/exceladvisor.org\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/exceladvisor.org\/cn\/#organization","name":"Excel Advisor","url":"https:\/\/exceladvisor.org\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","contentUrl":"https:\/\/exceladvisor.org\/cn\/wp-content\/uploads\/2023\/12\/exceladvisor.org_.png","width":105,"height":36,"caption":"Excel Advisor"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/#\/schema\/logo\/image\/"}}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/96\/revisions"}],"predecessor-version":[{"id":1060,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/96\/revisions\/1060"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}