{"id":657,"date":"2023-09-30T00:09:48","date_gmt":"2023-09-30T00:09:48","guid":{"rendered":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/"},"modified":"2023-12-10T11:45:50","modified_gmt":"2023-12-10T11:45:50","slug":"%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6","status":"publish","type":"page","link":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528 vba \u521b\u5efa\u548c\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f"},"content":{"rendered":"<div class=\"excel-\" id=\"excel-3894923835\"><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\u4f7f\u7528 VBA \u4ee3\u7801\u521b\u5efa\u6587\u672c\uff0c\u5fc5\u987b\u4f7f\u7528 CreateTextFile \u65b9\u6cd5\u3002\u6b64\u65b9\u6cd5\u5141\u8bb8\u60a8\u8bbe\u7f6e\u8981\u521b\u5efa\u5b83\u7684\u4f4d\u7f6e\u3002\u6b64\u65b9\u6cd5\u5177\u6709\u8bed\u6cd5\uff0c\u60a8\u53ef\u4ee5\u5728\u5176\u4e2d\u6307\u5b9a\u662f\u5426\u8981\u8986\u76d6\u8be5\u4f4d\u7f6e\u7684\u6587\u4ef6\uff0c\u5e76\u6307\u5b9a\u8be5\u6587\u4ef6\u662f\u521b\u5efa\u4e3a Unicode \u8fd8\u662f ASCII \u6587\u4ef6\u3002<\/p><h2 class=\"wp-block-heading\">\u4f7f\u7528VBA\u521b\u5efa\u6587\u672c\u6587\u4ef6<\/h2><p>\u4f7f\u7528\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p><ol><li>\u9996\u5148\uff0c\u60a8\u9700\u8981\u4f7f\u7528 FileSystemObject \u6216\u6587\u4ef6\u5939\u5bf9\u8c61\u6765\u4e0e\u8be5\u65b9\u6cd5\u4e00\u8d77\u4f7f\u7528\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"1-\u4f7f\u7528 vba \u521b\u5efa\u6587\u672c\u6587\u4ef6\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png\" sizes=\"auto, \" srcset=\"\" alt=\"create-a-text-fie-using-vba\" width=\"522\" height=\"305\"><\/li><li>\u4e4b\u540e\uff0c\u60a8\u9700\u8981\u4f7f\u7528 CreateTextFile \u65b9\u6cd5\u521b\u5efa\u53e6\u4e00\u4e2a\u5bf9\u8c61\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"2-\u521b\u5efa\u6587\u672c\u6587\u4ef6\u7684\u65b9\u6cd5\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/2-Creer-une-methode-de-fichier-texte.png\" sizes=\"auto, \" srcset=\"\" alt=\"create-text-file-method\" width=\"779\" height=\"321\"><\/li><li>\u5728\u6b64\u4ee3\u7801\u4e2d\uff0c\u5982\u679c\u6587\u4ef6\u5939\u4e2d\u5df2\u5b58\u5728\u540c\u540d\u6587\u4ef6\uff0c\u6211\u4eec\u4f7f\u7528 TRUE \u8fdb\u884c\u8986\u76d6\u3002<\/li><li>\u6700\u540e\uff0c\u5f53\u60a8\u8fd0\u884c\u6b64\u5b8f\u65f6\uff0c\u8bf7\u5728\u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6587\u672c\u6587\u4ef6\uff0c\u5982\u4e0b\u6240\u793a\u3002<\/li><\/ol><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Sub create_text_file() 'object to use as folder Dim fld As Object Set fld = CreateObject(\"Scripting.FileSystemObject\") 'using create text file method Dim myFile As Object Set myFile = fld.CreateTextFile(\"C:UsersDellDesktopmyFoldermyTextFile.txt\", True) End Sub<\/code><\/pre><h2 class=\"wp-block-heading\"> CreateTextFile \u65b9\u6cd5\u7684\u8bed\u6cd5<\/h2><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">CreateTextFile (filename, [ overwrite, [ unicode ]])<\/code><\/pre><ul><li><strong>\u6587\u4ef6\u540d\uff1a<\/strong>\u8981\u521b\u5efa\u7684\u6587\u4ef6\u7684\u8def\u5f84\u548c\u540d\u79f0\u3002<\/li><li> <strong>overwrite\uff1a<\/strong>\u5e03\u5c14\u503c\uff0c\u5b9a\u4e49\u662f\u5426\u8981\u8986\u76d6\u6587\u4ef6\uff08\u5982\u679c\u5df2\u5b58\u5728\uff09\uff08\u53ef\u9009\uff09\u3002<\/li><li> <strong>unicode\uff1a<\/strong>\u5e03\u5c14\u503c\uff0c\u7528\u4e8e\u5b9a\u4e49\u6587\u4ef6\u662f\u5426\u521b\u5efa\u4e3a Unicode \u6587\u4ef6\u6216 ASCII \u6587\u4ef6\uff08\u53ef\u9009\uff09\u3002<\/li><\/ul><h2 class=\"wp-block-heading\">\u4f7f\u7528 VBA \u5199\u5165\u6587\u672c\u6587\u4ef6<\/h2><p>\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e24\u4e2a\u8bed\u53e5\u5c06\u6570\u636e\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1a<\/p><ol><li><strong data-rich-text-format-boundary=\"true\">\u5199\u5165\uff1a<\/strong>\u4f7f\u7528\u6b64\u8bed\u53e5\uff0c\u60a8\u53ef\u4ee5\u5c06\u6570\u636e\u5199\u5165\u6587\u672c\u6587\u4ef6\uff0c\u5176\u4e2d\u503c\u4e4b\u95f4\u6709\u9017\u53f7\uff0c\u5b57\u7b26\u4e32\u5468\u56f4\u6709\u5f15\u53f7\uff0c\u65e5\u671f\u5468\u56f4\u6709 # \u7b26\u53f7\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"3-\u5199\u8bed\u53e5\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/3-ecrire-une-declaration.png\" sizes=\"auto, \" srcset=\"\" alt=\"write-statement\" width=\"496\" height=\"291\"><\/li><li><strong data-rich-text-format-boundary=\"true\">\u6253\u5370\uff1a<\/strong>\u4f7f\u7528\u6b64\u8bed\u53e5\uff0c\u60a8\u53ef\u4ee5\u5c06\u6570\u636e\u5199\u5165\u6587\u672c\u6587\u4ef6\uff0c\u5176\u5916\u89c2\u4e0e Excel \u7535\u5b50\u8868\u683c\u4e2d\u7684\u5916\u89c2\u5b8c\u5168\u76f8\u540c\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"4 \u4e2a\u5b57\u7b26\u7684\u58f0\u660e\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/4-declaration-dimpression.png\" sizes=\"auto, \" srcset=\"\" alt=\"print-statement\" width=\"650\" height=\"344\"><\/li><\/ol><p>\u73b0\u5728\u6211\u4eec\u5c06\u67e5\u770b\u8fd9\u4e24\u4e2a\u8bed\u53e5\u7684\u793a\u4f8b\uff0c\u5e76\u4e86\u89e3\u5982\u4f55\u7f16\u5199\u5b8c\u6574\u7684\u4ee3\u7801\u6765\u5199\u5165\u6587\u672c\u6587\u4ef6\u3002\u4f46\u5728\u6b64\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u4e86\u89e3<strong>\u4e00\u4e9b\u672f\u8bed<\/strong>\u624d\u80fd\u6309\u7167\u60a8\u60f3\u8981\u7684\u65b9\u5f0f\u7f16\u5199\u4ee3\u7801\u3002<\/p><ul><li><strong>\u5bf9\u4e8e\u8f93\u51fa\uff1a<\/strong>\u5f53\u60a8\u60f3\u8981\u5728\u6587\u672c\u6587\u4ef6\u4e2d\u5199\u5165\u6570\u636e\u6216\u4fee\u6539\u6570\u636e\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b64\u547d\u4ee4\u3002<\/li><li><strong>\u5bf9\u4e8e\u8f93\u5165\uff1a<\/strong>\u4f7f\u7528\u6b64\u547d\u4ee4\u60a8\u53ef\u4ee5\u4ece\u6587\u672c\u4e2d\u63d0\u53d6\u6570\u636e\uff0c\u4f46\u60a8\u5c06\u65e0\u6cd5\u4fee\u6539\u6570\u636e\u5e76\u5c06\u6570\u636e\u6dfb\u52a0\u5230\u6587\u4ef6\u4e2d\u3002<\/li><li><strong>\u6dfb\u52a0\uff1a<\/strong>\u6b64\u547d\u4ee4\u53ef\u5e2e\u52a9\u60a8\u5728\u6587\u672c\u6587\u4ef6\u7684\u5e95\u90e8\u6dfb\u52a0\u65b0\u6570\u636e\u3002<\/li><li> <strong>FreeFile\uff1a<\/strong>\u60a8\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u8bbe\u7f6e\u4e00\u4e2a\u672a\u7528\u4e8e\u60a8\u8981\u4f7f\u7528\u7684\u6587\u672c\u6587\u4ef6\u7684\u6587\u4ef6\u7f16\u53f7\uff0c\u4ee5\u4fbf\u60a8\u53ef\u4ee5\u53c2\u8003\u5b83\u3002<\/li><\/ul><p>\u73b0\u5728\u8ba9\u6211\u4eec\u7f16\u5199\u4e00\u6bb5\u4ee3\u7801\u5c06\u6570\u636e\u8f93\u5165\u5230\u6587\u672c\u6587\u4ef6\u4e2d\u3002<\/p><ol><li>\u9996\u5148\uff0c\u60a8\u9700\u8981\u58f0\u660e\u8981\u5728\u4ee3\u7801\u4e2d\u4f7f\u7528\u7684\u53d8\u91cf\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"5-\u58f0\u660e\u53d8\u91cf\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/5-declarer-des-variables.png\" sizes=\"auto, \" srcset=\"\" alt=\"declare-variables\" width=\"381\" height=\"337\"><\/li><li>\u4e4b\u540e\uff0c\u60a8\u9700\u8981\u5b9a\u4e49\u9700\u8981\u5199\u5165\u6587\u672c\u6587\u4ef6\u7684\u8303\u56f4\u3002\u5e76\u901a\u8fc7\u5c06\u8303\u56f4\u5185\u7684\u5355\u5143\u683c\u6570\u91cf\u8bbe\u7f6e\u4e3a\u53d8\u91cf\u6765\u5c06\u5176\u7528\u4f5c\u5faa\u73af\u7684\u8ba1\u6570\u5668\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"6-\u5b9a\u4e49\u8303\u56f4\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/6-definir-la-gamme.png\" sizes=\"auto, \" srcset=\"\" alt=\"define-the-range\" width=\"416\" height=\"114\"><\/li><li>\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u8bbe\u7f6e\u8981\u6dfb\u52a0\u6570\u636e\u7684\u6587\u672c\u6587\u4ef6\u7684\u5730\u5740\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"7-\u8bbe\u7f6e\u6587\u672c\u6587\u4ef6\u5730\u5740\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/7-definir-ladresse-du-fichier-texte.png\" sizes=\"auto, \" srcset=\"\" alt=\"define-the-address-of-the-text-file\" width=\"575\" height=\"99\"><\/li><li>\u4ece\u90a3\u91cc\uff0c\u60a8\u9700\u8981\u5411\u53d8\u91cf\u58f0\u660e\u201cFreeFile\u201d\u547d\u4ee4\u4ee5\u83b7\u53d6\u6587\u4ef6\u53f7\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"8-freefile-\u547d\u4ee4\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/8-commande-de-fichier-libre.png\" sizes=\"auto, \" srcset=\"\" alt=\"freefile-command\" width=\"452\" height=\"80\"><\/li><li>\u73b0\u5728\u60a8\u9700\u8981\u4f7f\u7528\u201c\u8f93\u51fa\u201d\u547d\u4ee4\u521b\u5efa\uff0c\u56e0\u4e3a\u60a8\u9700\u8981\u5c06\u6570\u636e\u6dfb\u52a0\u5230\u6587\u4ef6\u4e2d\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"9 \u8f93\u51fa\u63a7\u5236\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/9-sortie-de-commande.png\" sizes=\"auto, \" srcset=\"\" alt=\"output-command\" width=\"580\" height=\"80\"><\/li><li>\u6700\u540e\uff0c\u9700\u8981\u4f7f\u7528\u201cFor Next\u201d\u5faa\u73af\u6765\u4e00\u4e00\u83b7\u53d6\u8303\u56f4\u503c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u6587\u4ef6\u4e2d\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"10 \u6b21\u5faa\u73af\u83b7\u53d6\u503c\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/10-pour-la-prochaine-boucle-pour-obtenir-des-valeurs.png\" sizes=\"auto, \" srcset=\"\" alt=\"for-next-loop-to-get-values\" width=\"436\" height=\"201\"><\/li><li>\u6b64\u5916\uff0c\u5728\u5411\u6587\u672c\u6587\u4ef6\u6dfb\u52a0\u6570\u636e\u540e\uff0c\u60a8\u9700\u8981\u4f7f\u7528 close \u547d\u4ee4\u5173\u95ed\u8be5\u6587\u672c\u6587\u4ef6\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"11-\u5173\u95ed\u547d\u4ee4\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/11-commande-de-fermeture.png\" sizes=\"auto, \" srcset=\"\" alt=\"close-command\" width=\"549\" height=\"86\"><\/li><li>\u6700\u7ec8\uff0c\u5f53\u60a8\u8fd0\u884c\u6b64\u5b8f\u65f6\uff0c\u5b83\u5c06 A1:A13 \u8303\u56f4\u5185\u7684\u6570\u636e\u6dfb\u52a0\u5230\u60a8\u5728\u63d0\u5230\u7684\u8def\u5f84\u4e2d\u4fdd\u5b58\u7684\u6587\u672c\u6587\u4ef6\u4e2d\u3002 <br><img loading=\"lazy\" decoding=\"async\" title=\"12 \u8fd0\u884c\u5b8f\" src=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/12-executer-la-macro.png\" sizes=\"auto, \" srcset=\"\" alt=\"run-the-macro\" width=\"464\" height=\"404\"><\/li><\/ol><p class=\"qt-tip\"><strong>\u6ce8\u610f\uff1a<\/strong>\u8bf7\u786e\u4fdd\u6839\u636e\u60a8\u7cfb\u7edf\u4e2d\u7684\u8def\u5f84\u66f4\u6539\u4ee3\u7801\u4e2d\u6587\u672c\u6587\u4ef6\u7684\u8def\u5f84\u3002<\/p><pre class=\"wp-block-code\"> <code class=\"language-visual-basic\" lang=\"visual-basic\">Option Explicit Sub data_to_text_file() 'variables that you need to use in the code Dim TextFile As Integer Dim iCol As Integer Dim myRange As Range Dim cVal As Range Dim i As Integer Dim myFile As String 'define the range that you want to write Set myRange = Range(\"A1:A13\") iCol = myRange.Count 'path to the text file <strong>(MAKE SURE TO CHANGE IT)<\/strong> myFile = \"C:UsersDellDesktopNewFoldertextfile.txt\" 'define FreeFile to the variable file number TextFile = FreeFile 'using append command to add text to the end of the file Open myFile For Output As TextFile 'loop to add data to the text file For i = 1 To iCol Print #TextFile, Cells(i, 1), Print #TextFile, Cells(i, 2) Next i 'close command to close the text file after adding data Close #TextFile 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\/\u7a81\u51fa\u663e\u793a\u91cd\u590d\u503c\/\">\u4f7f\u7528VBA\u7a81\u51fa\u663e\u793a\u91cd\u590d\u503c<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u63d0\u53d6\u8d85\u94fe\u63a5\/\">\u63d0\u53d6\u8d85\u94fe\u63a5\u5730\u5740\uff08URL\uff09VBA<\/a><\/li><li> <a href=\"https:\/\/exceladvisor.org\/cn\/\u8f93\u5165\u5b57\u6bb5\/\">VBA\u4e2d\u7684\u8f93\u5165\u6846<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u5c4f\u5e55\u66f4\u65b0\/\">VBA \u5c4f\u5e55\u66f4\u65b0<\/a><\/li><li><a href=\"https:\/\/exceladvisor.org\/cn\/\u72b6\u6001\u680f1\/\">VBA\u72b6\u6001\u680f\uff08\u9690\u85cf\u3001\u663e\u793a\u548c\u8fdb\u5ea6\uff09<\/a> <\/li><\/ul><\/div><\/div><div class=\"gb-grid-column gb-grid-column-50067b57\"><div class=\"gb-container gb-container-50067b57\"><\/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-657","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\u901a\u8fc7 VBA \u521b\u5efa\u5e76\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f<\/title>\n<meta name=\"description\" content=\"\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u521b\u5efa\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\uff08\u6253\u5370\u548c\u5199\u5165\uff09\u5bf9\u5176\u8fdb\u884c\u5199\u5165\" \/>\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\/\u6587\u672c\u6587\u4ef6\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u25b7 \u5982\u4f55\u901a\u8fc7 VBA \u521b\u5efa\u5e76\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u521b\u5efa\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\uff08\u6253\u5370\u548c\u5199\u5165\uff09\u5bf9\u5176\u8fdb\u884c\u5199\u5165\" \/>\n<meta property=\"og:url\" content=\"https:\/\/exceladvisor.org\/cn\/\u6587\u672c\u6587\u4ef6\/\" \/>\n<meta property=\"og:site_name\" content=\"Excel Advisor\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-10T11:45:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/\",\"url\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/\",\"name\":\"\u25b7 \u5982\u4f55\u901a\u8fc7 VBA \u521b\u5efa\u5e76\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f\",\"isPartOf\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png\",\"datePublished\":\"2023-09-30T00:09:48+00:00\",\"dateModified\":\"2023-12-10T11:45:50+00:00\",\"description\":\"\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u521b\u5efa\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\uff08\u6253\u5370\u548c\u5199\u5165\uff09\u5bf9\u5176\u8fdb\u884c\u5199\u5165\",\"breadcrumb\":{\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#primaryimage\",\"url\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png\",\"contentUrl\":\"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/exceladvisor.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u4f7f\u7528 vba \u521b\u5efa\u548c\u5199\u5165\u6587\u672c\u6587\u4ef6\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\u901a\u8fc7 VBA \u521b\u5efa\u5e76\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f","description":"\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u521b\u5efa\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\uff08\u6253\u5370\u548c\u5199\u5165\uff09\u5bf9\u5176\u8fdb\u884c\u5199\u5165","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\/\u6587\u672c\u6587\u4ef6\/","og_locale":"zh_CN","og_type":"article","og_title":"\u25b7 \u5982\u4f55\u901a\u8fc7 VBA \u521b\u5efa\u5e76\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f","og_description":"\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u521b\u5efa\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\uff08\u6253\u5370\u548c\u5199\u5165\uff09\u5bf9\u5176\u8fdb\u884c\u5199\u5165","og_url":"https:\/\/exceladvisor.org\/cn\/\u6587\u672c\u6587\u4ef6\/","og_site_name":"Excel Advisor","article_modified_time":"2023-12-10T11:45:50+00:00","og_image":[{"url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/","url":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/","name":"\u25b7 \u5982\u4f55\u901a\u8fc7 VBA \u521b\u5efa\u5e76\u5199\u5165\u6587\u672c\u6587\u4ef6\uff1f","isPartOf":{"@id":"https:\/\/exceladvisor.org\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#primaryimage"},"image":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#primaryimage"},"thumbnailUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png","datePublished":"2023-09-30T00:09:48+00:00","dateModified":"2023-12-10T11:45:50+00:00","description":"\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u521b\u5efa\u6587\u672c\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528\u4e24\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\uff08\u6253\u5370\u548c\u5199\u5165\uff09\u5bf9\u5176\u8fdb\u884c\u5199\u5165","breadcrumb":{"@id":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#primaryimage","url":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png","contentUrl":"https:\/\/exceladvisor.org\/wp-content\/uploads\/2023\/08\/1-creer-un-fichier-texte-en-utilisant-vba.png"},{"@type":"BreadcrumbList","@id":"https:\/\/exceladvisor.org\/cn\/%e6%96%87%e6%9c%ac%e6%96%87%e4%bb%b6\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/exceladvisor.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u4f7f\u7528 vba \u521b\u5efa\u548c\u5199\u5165\u6587\u672c\u6587\u4ef6\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\/657","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=657"}],"version-history":[{"count":1,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/657\/revisions"}],"predecessor-version":[{"id":876,"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/pages\/657\/revisions\/876"}],"wp:attachment":[{"href":"https:\/\/exceladvisor.org\/cn\/wp-json\/wp\/v2\/media?parent=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}