{"id":4414,"date":"2015-12-07T10:06:03","date_gmt":"2015-12-07T01:06:03","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=4414"},"modified":"2015-12-11T08:23:03","modified_gmt":"2015-12-10T23:23:03","slug":"builtindocumentproperties","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/builtindocumentproperties\/","title":{"rendered":"\u30d6\u30c3\u30af\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\uff08BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3\uff09"},"content":{"rendered":"<h2>BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<p>\u30d6\u30c3\u30af\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f\u3001\u30bf\u30a4\u30c8\u30eb\u3001\u4f5c\u6210\u8005\u3001\u4f1a\u793e\u540d\u3001\u4f5c\u6210\u65e5\u6642\u306a\u3069\u306e\u60c5\u5831\u304c\u3042\u308a\u3001<strong>BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u3092\u4f7f\u7528\u3057\u3066\u3001\u305d\u306e\u60c5\u5831\uff08<strong>DocumentProperties \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\uff09\u3092\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u53d6\u5f97\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>BuiltinDocumentProperties<\/strong> ( <em>title<\/em> )<\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>BuiltinDocumentProperties<\/strong> ( <em>title<\/em> ) = <em>string<\/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>object&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u5bfe\u8c61\u3068\u306a\u308b <span class=\"red\"><strong>Workbook \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>title&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t<strong>\u3010BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3 \u306b\u8a2d\u5b9a\u3067\u304d\u308b\u4e3b\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u540d\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5024\u3011<\/strong><\/p>\n<table>\n<tr>\n<td align = \"center\" width=\"150\" bgcolor=\"#ffffccc\"><strong>\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5024<\/strong><\/td>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffccc\"><strong>\u30d7\u30ed\u30d1\u30c6\u30a3\u540d<\/strong><\/td>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">1<\/td>\n<td width=\"250\">Subject<\/td>\n<td width=\"250\">\u30b5\u30d6\u30bf\u30a4\u30c8\u30eb<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">2<\/td>\n<td width=\"250\">Author<\/td>\n<td width=\"250\">\u4f5c\u6210\u8005<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">3<\/td>\n<td width=\"250\">Keywords<\/td>\n<td width=\"250\">\u30ad\u30fc\u30ef\u30fc\u30c9<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">4<\/td>\n<td width=\"250\">Comments<\/td>\n<td width=\"250\">\u30b3\u30e1\u30f3\u30c8<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">6<\/td>\n<td width=\"250\">Last author<\/td>\n<td width=\"250\">\u6700\u7d42\u4fdd\u5b58\u8005<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">7<\/td>\n<td width=\"250\">Revision number<\/td>\n<td width=\"250\">\u6539\u8a02\u756a\u53f7<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">8<\/td>\n<td width=\"250\">Application name<\/td>\n<td width=\"250\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">9<\/td>\n<td width=\"250\">Last print date<\/td>\n<td width=\"250\">\u6700\u7d42\u5370\u5237\u65e5<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">10<\/td>\n<td width=\"250\">Creation date<\/td>\n<td width=\"250\">\u4f5c\u6210\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">11<\/td>\n<td width=\"250\">Last save time<\/td>\n<td width=\"250\">\u66f4\u65b0\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">12<\/td>\n<td width=\"250\">Total editing time<\/td>\n<td width=\"250\">\u7de8\u96c6\u6642\u9593<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">17<\/td>\n<td width=\"250\">Category<\/td>\n<td width=\"250\">\u5206\u985e<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">19<\/td>\n<td width=\"250\">Manager<\/td>\n<td width=\"250\">\u7ba1\u7406\u8005<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">20<\/td>\n<td width=\"250\">Company<\/td>\n<td width=\"250\">\u4f1a\u793e<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">28<\/td>\n<td width=\"250\">Hyperlink base<\/td>\n<td width=\"250\">\u30cf\u30a4\u30d1\u30fc\u30ea\u30f3\u30af\u306e\u57fa\u70b9<\/td>\n<\/tr>\n<tr>\n<td width=\"150\" align = \"center\">31<\/td>\n<td width=\"250\">Content status<\/td>\n<td width=\"250\">\u72b6\u614b<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<li>string&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8a2d\u5b9a\u5024\uff08\u4f5c\u6210\u8005\u3001\u30bf\u30a4\u30c8\u30eb\u306a\u3069\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u30d6\u30c3\u30af\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3084\u30b3\u30e1\u30f3\u30c8\u306a\u3069\u306e\u60c5\u5831\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/removedocumentinformation\/\">RemoveDocumentInformation \u30e1\u30bd\u30c3\u30c9<\/a> \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p class=\"caution8\">\u5024\u306e\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u5024\u7b49\u3092\u53d6\u5f97\u3057\u3088\u3046\u3068\u3059\u308b\u6642\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u304c\u3042\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3 \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=\"BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_BuiltinDocumentProperties()\r\n    \r\n    Dim i As Integer\r\n    Dim w As Workbook\r\n    Set w = Workbooks.Open(\"C:\\Documents\\mybook.xlsx\")\r\n    \r\n    '\u30a8\u30e9\u30fc\u767a\u751f\u6642\u3001\u7121\u8996\u3057\u3066\u6b21\u3078\u9032\u3080\r\n    On Error Resume Next\r\n    \r\n    '\u3010\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u8a2d\u5b9a\u3011\r\n    '\u30bf\u30a4\u30c8\u30eb\u3092\u300c\u30b5\u30f3\u30d7\u30eb\u300d\u306b\u8a2d\u5b9a\r\n    w.BuiltinDocumentProperties(\"Title\") = \"\u30b5\u30f3\u30d7\u30eb\"\r\n    \r\n    '\u4f5c\u6210\u8005\u3092\u300c\u5c71\u7530 \u592a\u90ce\u300d\u306b\u8a2d\u5b9a\r\n    w.BuiltinDocumentProperties(\"Author\") = \"\u5c71\u7530 \u592a\u90ce\"\r\n    \r\n    '\u6700\u7d42\u4fdd\u5b58\u8005\u3092\u300c\u5c71\u7530 \u82b1\u5b50\u300d\u306b\u8a2d\u5b9a\r\n    w.BuiltinDocumentProperties(\"Last Author\") = \"\u5c71\u7530 \u82b1\u5b50\"\r\n    \r\n    '\u4f5c\u6210\u65e5\u6642\u3092\u300c2000\/1\/1\u300d\u306b\u8a2d\u5b9a\r\n    w.BuiltinDocumentProperties(\"Creation date\") = \"2000\/1\/1\"\r\n    \r\n    '\u3010\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u53d6\u5f97\u3011\r\n    '\u30b7\u30fc\u30c8\u306b\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u7a2e\u985e\u3068\u8a2d\u5b9a\u5024\u306e\u4e00\u89a7\u3092\u8868\u793a\r\n    For i = 1 To w.BuiltinDocumentProperties.Count\r\n        \r\n        ActiveSheet.Cells(i, 1) = w.BuiltinDocumentProperties(i).Name\r\n        ActiveSheet.Cells(i, 2) = w.BuiltinDocumentProperties(i).Value\r\n        \r\n    Next i\r\n    \r\n    '\u5217\u5e45\u81ea\u52d5\u8a2d\u5b9a\r\n    ActiveSheet.Columns(\"A:B\").AutoFit\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\/11\/builtindocumentproperties01.jpg?ssl=1\" rel=\"lightbox[4414]\"><img loading=\"lazy\" src=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/11\/builtindocumentproperties01.jpg?resize=580%2C483&#038;ssl=1\" alt=\"BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3 \" width=\"580\" height=\"483\" class=\"alignnone size-large wp-image-4415\" srcset=\"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/11\/builtindocumentproperties01.jpg?resize=580%2C483&amp;ssl=1 580w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/11\/builtindocumentproperties01.jpg?resize=400%2C333&amp;ssl=1 400w, https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/11\/builtindocumentproperties01.jpg?w=585&amp;ssl=1 585w\" sizes=\"(max-width: 580px) 100vw, 580px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/><br \/>\n","protected":false},"excerpt":{"rendered":"<p>BuiltinDocumentProperties \u30d7\u30ed\u30d1\u30c6\u30a3 \u30d6\u30c3\u30af\u306e\u30d7\u30ed\u30d1\u30c6 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":4463,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[357],"tags":[686,63,363,38,360],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/12\/builtindocumentproperties01-580x483.jpg?fit=580%2C483&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-19c","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/4414"}],"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=4414"}],"version-history":[{"count":6,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/4414\/revisions"}],"predecessor-version":[{"id":4508,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/4414\/revisions\/4508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/4463"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=4414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=4414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=4414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}