{"id":4672,"date":"2015-12-26T09:22:49","date_gmt":"2015-12-26T00:22:49","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=4672"},"modified":"2016-01-12T09:20:18","modified_gmt":"2016-01-12T00:20:18","slug":"textopenclose","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/textopenclose\/","title":{"rendered":"\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\uff08Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u30fbClose \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\uff09"},"content":{"rendered":"<h2>\u65b0\u898f\u30d6\u30c3\u30af\u3092\u958b\u304b\u305a\u306b\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<\/h2>\n<div class=\"m30-l\">\n<p><strong>OpenText \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u305f\u3073\u306b\u65b0\u898f\u30d6\u30c3\u30af\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u65b0\u898f\u30d6\u30c3\u30af\u3092\u958b\u304b\u305a\u306b\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u305f\u3044\u5834\u5408\u306f\u3001<strong>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u958b\u3044\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306f\u3001<strong>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u306e\u5f15\u6570\u3067\u6307\u5b9a\u3057\u305f <strong>\u30d5\u30a1\u30a4\u30eb\u756a\u53f7<\/strong> \u3092\u4f7f\u7528\u3057\u3066\u53c2\u7167\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u9589\u3058\u308b\u3068\u304d\u306f\u3001<strong>Close \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<br \/><br \/>\n<h2>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/h2>\n<div class=\"m30-l\">\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <strong>Open<\/strong> <em>pathname<\/em> <strong>For<\/strong> <em>mode<\/em> [ <strong>Access<\/strong> <em>access<\/em> <em>lock<\/em> ] <strong>As<\/strong> <strong>#<\/strong><em>filenumber<\/em> [ <strong>Len<\/strong> = <em>reclength<\/em> ]<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>pathname&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u958b\u304d\u305f\u3044\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u6587\u5b57\u5217\u5f0f\u3067\u3057\u3066\u3057\u307e\u3059\uff08\u5fc5\u9808\uff09\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u307e\u305f\u306f\u30d5\u30a9\u30eb\u30c0\u3001\u304a\u3088\u3073\u30c9\u30e9\u30a4\u30d6\u3092\u542b\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>mode&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u6642\u306e\u30e2\u30fc\u30c9\u3092\u4ee5\u4e0b\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u6307\u5b9a\u3057\u307e\u3059\uff08\u5fc5\u9808\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u30ad\u30fc\u30ef\u30fc\u30c9<\/strong><\/td>\n<td align = \"center\" width=\"450\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Append<\/td>\n<td width=\"450\">\u8ffd\u52a0\u30e2\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Binary<\/td>\n<td width=\"450\">\u30d0\u30a4\u30ca\u30ea\u30e2\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Input<\/td>\n<td width=\"450\">\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u5165\u529b\u30e2\u30fc\u30c9\uff08\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u304b\u3089\u9806\u306b\u8aad\u307f\u8fbc\u3080\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Output<\/td>\n<td width=\"450\">\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u51fa\u529b\u30e2\u30fc\u30c9\uff08\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u304b\u3089\u9806\u306b\u66f8\u304d\u8fbc\u3080\uff09\u203b\u4e0a\u66f8\u304d<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Random<\/td>\n<td width=\"450\">\u30e9\u30f3\u30c0\u30e0\u30a2\u30af\u30bb\u30b9\u30e2\u30fc\u30c9\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>access&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u8a31\u53ef\u3055\u308c\u308b\u64cd\u4f5c\u3092\u4ee5\u4e0b\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u30ad\u30fc\u30ef\u30fc\u30c9<\/strong><\/td>\n<td align = \"center\" width=\"450\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Read<\/td>\n<td width=\"450\">\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u8aad\u307f\u8fbc\u307f\u306e\u307f\u884c\u3044\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Wright<\/td>\n<td width=\"450\">\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u66f8\u304d\u8fbc\u307f\u306e\u307f\u884c\u3044\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Read Wright<\/td>\n<td width=\"450\">\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u8aad\u307f\u66f8\u304d\u306e\u4e21\u65b9\u3092\u884c\u3044\u307e\u3059<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>lock&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3059\u308b\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u306e\u64cd\u4f5c\u306e\u5236\u9650\u3092\u4ee5\u4e0b\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u6307\u5b9a\u3057\u307e\u3059\uff08\u7701\u7565\u53ef\uff09\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u30ad\u30fc\u30ef\u30fc\u30c9<\/strong><\/td>\n<td align = \"center\" width=\"450\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Shared<\/td>\n<td width=\"450\">\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u306e\u8aad\u307f\u66f8\u304d\u306e\u64cd\u4f5c\u3092\u8a31\u53ef\u3057\u307e\u3059\uff08\u65e2\u5b9a\u5024\uff09<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Lock Read<\/td>\n<td width=\"450\">\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u306e\u8aad\u307f\u8fbc\u307f\u3092\u30ed\u30c3\u30af\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Lock Wright<\/td>\n<td width=\"450\">\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u306e\u66f8\u304d\u8fbc\u307f\u3092\u30ed\u30c3\u30af\u3057\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td width=\"200\">Lock Read Wright<\/td>\n<td width=\"450\">\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304b\u3089\u306e\u8aad\u307f\u66f8\u304d\u306e\u4e21\u65b9\u3092\u30ed\u30c3\u30af\u3057\u307e\u3059<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>filenumber&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u756a\u53f7\u3092\u5272\u308a\u5f53\u3066\u307e\u3059\u30021 \u4ee5\u4e0a 511 \u4ee5\u4e0b\u306e\u6574\u6570\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>reclength&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;32,767\uff08\u30d0\u30a4\u30c8\uff09\u4ee5\u4e0b\u306e\u6570\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30e9\u30f3\u30c0\u30e0\u30a2\u30af\u30bb\u30b9\u7528\u306b\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u3053\u306e\u5024\u306f\u30ec\u30b3\u30fc\u30c9\u9577\u3067\u3059\u3002\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb \u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u3053\u306e\u5024\u306f\u30d0\u30c3\u30d5\u30a1\u30ea\u30f3\u30b0\u3055\u308c\u308b\u6587\u5b57\u6570\u3067\u3059\uff08\u7701\u7565\u53ef\u80fd\uff09\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u5f15\u6570 <em>filenumber<\/em> \u306b\u3001\u3059\u3067\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u756a\u53f7\u3092\u6307\u5b9a\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u307e\u3060\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/freefilefunction\/\">FreeFile \u95a2\u6570<\/a> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p class=\"caution8\">\u5f15\u6570 <em>mode<\/em> \u306b\u3001<strong>Output<\/strong> \u3001<strong>Append<\/strong> \u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u958b\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u7570\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3067\u540c\u6642\u306b\u958b\u3053\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\u306a\u304a\u3001<strong>Input<\/strong> \u3001<strong>Binary<\/strong> \u3001<strong>Random<\/strong> \u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u958b\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u7570\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3067\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Close \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/h2>\n<div class=\"m30-l\">\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <strong>Close<\/strong> [ <strong>#<\/strong><em>filenumber<\/em> ]<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h3>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>filenumber&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<strong>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u3067\u3001\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u8907\u6570\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u5834\u5408\u306f\u3001\u30ab\u30f3\u30de\uff08,\uff09\u3067\u533a\u5207\u308a\u307e\u3059\u3002\u7701\u7565\u3059\u308b\u3068\u958b\u3044\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9589\u3058\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution8\">\u5f15\u6570 <em>filenumber<\/em> \u306b\u958b\u3044\u3066\u3044\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3092\u6307\u5b9a\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306f\u767a\u751f\u3057\u307e\u305b\u3093\u3002\u3053\u306e\u5834\u5408\u3001\u9589\u3058\u3088\u3046\u3068\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u9589\u3058\u3089\u308c\u305a\u3001\u518d\u5ea6\u305d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3053\u3046\u3068\u3057\u305f\u6642\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u3053\u3068\u304c\u8d77\u3053\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u3067\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3059\u308b\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/h2>\n<div class=\"m30-l\">\n<p><strong>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u3067\u958b\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3060\u308a\u3001\u66f8\u304d\u8fbc\u3093\u3060\u308a\u3059\u308b\u3068\u304d\u306b\u4f7f\u7528\u3059\u308b\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong><\/td>\n<td align = \"center\" width=\"450\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textinput\/\">Input # \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u30c7\u30fc\u30bf\u3092\u30ab\u30f3\u30de\u3067\u533a\u5207\u3089\u308c\u305f\u5358\u4f4d\u3054\u3068\u306b\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textlineinput\/\">Line Input # \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u30c7\u30fc\u30bf\u3092\uff11\u884c\u3054\u3068\u306b\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textwrite\/\">Write # \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textprint\/\">Print # \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u884c\u5358\u4f4d\u3067\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/seekstatement\/\">Seek \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u8aad\u307f\u53d6\u308a\u307e\u305f\u306f\u66f8\u304d\u8fbc\u307f\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textput\/\">Put \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textget\/\">Get \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textwidth\/\">Width # \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/a><\/td>\n<td width=\"450\">\u958b\u3044\u305f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u51fa\u529b\u884c\u5e45\u3092\u5272\u308a\u5f53\u3066\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p><\/p>\n<\/div>\n<br \/><br \/>\n<h2>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u3067\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u51e6\u7406\u3059\u308b\u95a2\u6570<\/h2>\n<div class=\"m30-l\">\n<p><strong>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/strong> \u3067\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u6642\u306a\u3069\u306b\u4f7f\u7528\u3059\u308b\u95a2\u6570\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"200\" bgcolor=\"#ffffccc\"><strong>\u95a2\u6570<\/strong><\/td>\n<td align = \"center\" width=\"450\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/inputfunction\/\">Input \u95a2\u6570<\/a><\/td>\n<td width=\"450\">Input \u30e2\u30fc\u30c9\u30fbBinary \u30e2\u30fc\u30c9\u3067\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u53d6\u3063\u305f\u3059\u3079\u3066\u306e\u6587\u5b57\u3092\u6587\u5b57\u5217\u578b\uff08String\uff09\u3067\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/textseekfunction\/\">Seek \u95a2\u6570<\/a><\/td>\n<td width=\"450\">\u958b\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u73fe\u5728\u306e\u8aad\u307f\u53d6\u308a\u4f4d\u7f6e\u307e\u305f\u306f\u66f8\u304d\u8fbc\u307f\u4f4d\u7f6e\u3092\u793a\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/funceof\/\">EOF \u95a2\u6570<\/a><\/td>\n<td width=\"450\">Random \u30e2\u30fc\u30c9\u30fbInput \u30e2\u30fc\u30c9\u3067\u958b\u304b\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u306b\u5230\u9054\u3059\u308b\u307e\u3067\u306f <strong>False<\/strong> \u3001\u672b\u5c3e\u306b\u5230\u9054\u3059\u308b\u3068 <strong>True<\/strong> \u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/loflocfunction\/\">Loc \u95a2\u6570<\/a><\/td>\n<td width=\"450\">\u958b\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u73fe\u5728\u306e\u8aad\u307f\u53d6\u308a\u4f4d\u7f6e\u307e\u305f\u306f\u66f8\u304d\u8fbc\u307f\u4f4d\u7f6e\u3092\u793a\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/loflocfunction\/\">LOF \u95a2\u6570<\/a><\/td>\n<td width=\"450\">\u958b\u3044\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\uff08\u30d0\u30a4\u30c8\u5358\u4f4d\uff09\u3092\u8868\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td width=\"200\"><a href=\"https:\/\/excelwork.info\/excel\/freefilefunction\/\">FreeFile \u95a2\u6570<\/a><\/td>\n<td width=\"450\">Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u4f7f\u7528\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3092\u8fd4\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/table>\n<p>\n<\/div>\n<br \/><br \/>\n<h2>Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u4f7f\u7528\u4f8b<\/h2>\n<div class=\"m30-l\">\n<h3 id=\"vba_sample\">\u30b5\u30f3\u30d7\u30ebVBA\u30bd\u30fc\u30b9<\/h3>\n<pre class=\"lang:vb mark:0 decode:true \" title=\"Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Open()\r\n\r\n    Dim FileName As String\r\n    Dim FileNum As Integer\r\n    Dim buf, str\r\n    \r\n    FileName = \"C:\\Documents\\user01.txt\"\r\n    FileNum = FreeFile  '\u30d5\u30a1\u30a4\u30eb\u756a\u53f7\u3092\u53d6\u5f97\r\n    \r\n    '\u30d5\u30a1\u30a4\u30eb\u3092\u30b7\u30fc\u30b1\u30f3\u30b7\u30e3\u30eb\u5165\u529b\u30e2\u30fc\u30c9\u3067\u958b\u304f\r\n    Open FileName For Input As #FileNum\r\n    \r\n        '\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u307e\u3067\u7e70\u308a\u8fd4\u3059\r\n        Do Until EOF(FileNum)\r\n                        \r\n            '\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb 1 \u884c\u5206\u3092\u5909\u6570 buf \u306b\u683c\u7d0d\u3059\u308b\r\n            Line Input #FileNum, buf\r\n            str = str & vbCrLf & buf\r\n        \r\n        Loop\r\n        \r\n    '\u30d5\u30a1\u30a4\u30eb\u3092\u9589\u3058\u308b\r\n    Close #FileNum\r\n    \r\n    MsgBox str\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p><a href=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/12\/textopenclose01.jpg?ssl=1\" rel=\"lightbox[4672]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/12\/textopenclose01.jpg?resize=210%2C275&#038;ssl=1\" alt=\"Open \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u30fbClose \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\" width=\"210\" height=\"275\" class=\"alignnone size-full wp-image-4675\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u898f\u30d6\u30c3\u30af\u3092\u958b\u304b\u305a\u306b\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f OpenText \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u3092 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":4675,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[675],"tags":[732,693,731,63,38],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/12\/textopenclose01.jpg?fit=210%2C275&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-1dm","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/4672"}],"collection":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/comments?post=4672"}],"version-history":[{"count":24,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/4672\/revisions"}],"predecessor-version":[{"id":4877,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/4672\/revisions\/4877"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/4675"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=4672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=4672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=4672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}