{"id":3009,"date":"2015-08-10T07:52:35","date_gmt":"2015-08-09T22:52:35","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=3009"},"modified":"2015-08-10T07:52:35","modified_gmt":"2015-08-09T22:52:35","slug":"cellgetphonetic","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/cellgetphonetic\/","title":{"rendered":"\u30d5\u30ea\u30ac\u30ca\u306e\u53d6\u5f97\uff08GetPhonetic \u30e1\u30bd\u30c3\u30c9\uff09"},"content":{"rendered":"<h2>GetPhonetic \u30e1\u30bd\u30c3\u30c9<\/h2>\n<div class=\"m30-l\">\n<p><strong>GetPhonetic \u30e1\u30bd\u30c3\u30c9<\/strong>\u306f\u3001\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u306e\u30d5\u30ea\u30ac\u30ca\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001<strong>Microsoft Office<\/strong> \u306e\u8a00\u8a9e\u306e\u8a2d\u5b9a\u3067\u65e5\u672c\u8a9e\u304c\u9078\u629e\u307e\u305f\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u306e\u307f\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>GetPhonetic<\/strong> [ ( <em>text<\/em> ) ]<\/p><\/div>\n<br \/>\n<h3>\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>Application \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>text&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30ea\u30ac\u30ca\u306b\u5909\u63db\u3059\u308b\u30c6\u30ad\u30b9\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u7701\u7565\u3059\u308b\u3068\u3001\u4ee5\u524d\u306b\u6307\u5b9a\u3055\u308c\u305f<span class=\"red\">\u5f15\u6570 <em>text<\/em> \u3067\u306e\u30d5\u30ea\u30ac\u30ca\u5019\u88dc\u306e\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059<\/span>\u3002\u5019\u88dc\u306e\u6587\u5b57\u5217\u304c\u306a\u3044\u5834\u5408\u306f\u7a7a\u306e\u6587\u5b57\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<\/div>\n<br \/><br \/>\n<h2>GetPhonetic \u30e1\u30bd\u30c3\u30c9 \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=\"GetPhonetic \u30e1\u30bd\u30c3\u30c9 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_GetPhonetic()\r\n\r\n    Range(\"A1\").Value = \"\u83c5\u91ce\u7f8e\u7a42\"\r\n    \r\n    Range(\"B1\").Value = \"\u5927\u5bb6\u5fd7\u6d25\u9999\"\r\n    \r\n    Range(\"C1\").Value = \"\u5c71\u7530\u4eab\"\r\n    \r\n    Range(\"D1\").Value = \"\u4e8c\u5341\u6b73\"\r\n    \r\n    Range(\"E1\").Value = \"\u5341\u516d\u591c\"\r\n    \r\n    \r\n    Dim tmp\r\n    Dim i As Integer, j As Integer\r\n    \r\n    For j = 1 To 5\r\n        i = 0\r\n        tmp = Application.GetPhonetic(Cells(1, j))\r\n    \r\n        Do While tmp <> \"\"\r\n            i = i + 1\r\n            Cells(i + 1, j) = tmp\r\n            tmp = Application.GetPhonetic\r\n        Loop\r\n    \r\n    Next j\r\n\r\n    Range(\"A:E\").Columns.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:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellgetphonetic01.jpg?ssl=1\" rel=\"lightbox[3009]\"><img loading=\"lazy\" src=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellgetphonetic01.jpg?resize=400%2C184&#038;ssl=1\" alt=\"GetPhonetic \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f8b\" width=\"400\" height=\"184\" class=\"alignnone size-medium wp-image-3011\" srcset=\"https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellgetphonetic01.jpg?resize=400%2C184&amp;ssl=1 400w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellgetphonetic01.jpg?resize=580%2C267&amp;ssl=1 580w, https:\/\/i1.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellgetphonetic01.jpg?w=697&amp;ssl=1 697w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>GetPhonetic \u30e1\u30bd\u30c3\u30c9 GetPhonetic \u30e1\u30bd\u30c3\u30c9\u306f\u3001\u6307\u5b9a\u3057\u305f\u6587 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":3023,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[301,486,63,38,269],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellgetphonetic01-400x1841.jpg?fit=400%2C184&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-Mx","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3009"}],"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=3009"}],"version-history":[{"count":3,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3009\/revisions"}],"predecessor-version":[{"id":3022,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3009\/revisions\/3022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/3023"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=3009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=3009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=3009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}