{"id":2985,"date":"2015-08-06T11:20:15","date_gmt":"2015-08-06T02:20:15","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=2985"},"modified":"2015-08-26T00:19:06","modified_gmt":"2015-08-25T15:19:06","slug":"cellphonetics","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/cellphonetics\/","title":{"rendered":"\u30d5\u30ea\u30ac\u30ca\uff08Phonetics \u30d7\u30ed\u30d1\u30c6\u30a3\uff09"},"content":{"rendered":"<h2>Phonetics \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<p>Phonetics \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u306e\u307f\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Phonetics<\/strong><\/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>Range \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Phonetics \u306e\u30e1\u30bd\u30c3\u30c9<\/h2>\n<div class=\"m30-l\">\n<br \/>\n<h3>Phonetics.Add \u30e1\u30bd\u30c3\u30c9<\/h3>\n<div class=\"m30-l\">\n<p>\u6307\u5b9a\u3057\u305f\u30bb\u30eb\u306b\u30d5\u30ea\u30ac\u30ca\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Add<\/strong> ( <em>start<\/em>, <em>length<\/em>, <em>text<\/em> )<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>start&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u4f55\u756a\u76ee\u306e\u6587\u5b57\u304b\u3089\u958b\u59cb\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u9577\u6574\u6570\u578b\uff1aLong\uff09\u3002<\/li>\n<li>length&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;<em>start<\/em> \u3067\u6307\u5b9a\u3057\u305f\u4f4d\u7f6e\u304b\u3089\u306e\u6587\u5b57\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\uff08\u9577\u6574\u6570\u578b\uff1aLong\uff09\u3002<\/li>\n<li>text&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8ffd\u52a0\u3059\u308b\u30d5\u30ea\u30ac\u30ca\u3092\u6587\u5b57\u5217\u578b\uff08String\uff09\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>Phonetics.Delete \u30e1\u30bd\u30c3\u30c9<\/h3>\n<div class=\"m30-l\">\n<p>\u30d5\u30ea\u30ac\u30ca\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Delete<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h4>Delete \u30e1\u30bd\u30c3\u30c9 \u4f7f\u3044\u65b9<\/h4>\n<div class=\"m30-l\">\n<p><strong>\u30bb\u30eb\u300cA1\u300d\u306e\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u3092\u524a\u9664<\/strong><br \/>\n    \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Delete<br \/>\n    \u3000\u3000<br \/>\n    <strong>\u30bb\u30eb\u300cA1\u300d\u306e 2 \u756a\u3081\u306e\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u3092\u524a\u9664<\/strong><br \/>\n    \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Item(2).Delete<br \/>\n    \u3000\u3000\u3000\u307e\u305f\u306f<br \/>\n    \u3000\u3000Range(&#8220;A1&#8221;).Phonetics(2).Delete<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Phonetics \u306e\u4e3b\u306a\u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<br \/>\n<h3>Phonetics.Item \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p><strong>Phonetics \u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong>\u306e\u500b\u3005\u306e\u30e1\u30f3\u30d0\u3092\u53c2\u7167\u3057\u307e\u3059\u3002<strong>Item \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u306f\u3001\u65e2\u5b9a\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306a\u306e\u3067\u3001\u7701\u7565\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Item<\/strong> ( <em>index<\/em> )<\/p>\n<p>    <em>object<\/em> ( <em>index<\/em> )<\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>index&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>Phonetics.Count \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30d5\u30ea\u30ac\u30ca\u306e\u500b\u6570\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Count<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h4>Count \u30d7\u30ed\u30d1\u30c6\u30a3  \u4f7f\u3044\u65b9<\/h4>\n<div class=\"m30-l\">\n<p><strong>\u30bb\u30eb\u300cA1\u300d\u306e\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u306e\u6570\u3092\u8fd4\u3057\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Count<br \/>\n      \u3000\uff08 Range(&#8220;A1&#8221;).Phonetics.Length \u3068\u540c\u3058\uff09<br \/>\n      \u3000\u3000<br \/>\n      <strong>\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Item(2).Count<br \/>\n      \u3000\u3000\u3000\u307e\u305f\u306f<br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics(2).Count<\/p>\n<\/p><\/div>\n<br \/><br \/>\n<h3>Phonetics.Alignment \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30d5\u30ea\u30ac\u30ca\u306e\u4f4d\u7f6e\u3092\u8868\u3059\u5024\u3092\u53d6\u5f97\u307e\u305f\u306f\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\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>Alignment<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>Alignment<\/strong> = <em>const<\/em><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>const&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30bb\u30eb\u306b\u8868\u793a\u3059\u308b\u30d5\u30ea\u30ac\u30ca\u306e\u4f4d\u7f6e\u3092\u8868\u3059 <strong>XlPhoneticAlignment \u5217\u6319\u578b<\/strong>\u306e\u5b9a\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffcc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"80\" bgcolor=\"#ffffcc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"320\" bgcolor=\"#ffffcc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlPhoneticAlignNoControl<\/td>\n<td width=\"80\" align = \"center\">0<\/td>\n<td width=\"320\" >Excel \u304c\u914d\u7f6e\u3092\u5236\u5fa1<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlPhoneticAlignLeft<\/td>\n<td width=\"80\" align = \"center\">1<\/td>\n<td width=\"320\" >\u5de6\u63c3\u3048<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlPhoneticAlignCenter<\/td>\n<td width=\"80\" align = \"center\">2<\/td>\n<td width=\"320\" >\u4e2d\u592e\u63c3\u3048<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlPhoneticAlignDistributed<\/td>\n<td width=\"80\" align = \"center\">3<\/td>\n<td width=\"320\" >\u5747\u7b49\u5272\u308a\u4ed8\u3051<\/td>\n<\/tr>\n<\/table>\n<\/li>\n<\/ul><\/div>\n<br \/><br \/>\n<h3>Phonetics.Text \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30d5\u30ea\u30ac\u30ca\u306e\u53d6\u5f97\u30fb\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002\u6587\u5b57\u5217\u578b\uff08String\uff09\u306e\u5024\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\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>Text<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>Text<\/strong> = <em>string<\/em><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>string&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30d5\u30ea\u30ac\u30ca\u3092\u300c\u3072\u3089\u304c\u306a\u300d\u300c\u30ab\u30ca\u30ab\u30ca\u300d\u3067\u3001\u8a2d\u5b9a\u3057\u307e\u3059\u3002\uff08\u6f22\u5b57\u30fb\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u3092\u6307\u5b9a\u3059\u308b\u3068\u305d\u306e\u6f22\u5b57\u30fb\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u304c\u3001\u305d\u306e\u307e\u307e\u30d5\u30ea\u30ac\u30ca\u306e\u60c5\u5831\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u307e\u3059\u3002\uff09<\/li>\n<\/ul><\/div>\n<br \/>\n<h4>Text \u30d7\u30ed\u30d1\u30c6\u30a3  \u4f7f\u3044\u65b9<\/h4>\n<div class=\"m30-l\">\n<p><strong>\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Text<br \/>\n      \u3000\u3000<br \/>\n      <strong>\u30bb\u30eb\u300cA1\u300d\u306e 2 \u756a\u3081\u306e\u30d5\u30ea\u30ac\u30ca\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\u5217\uff08\u6f22\u5b57\uff09\u306e\u30d5\u30ea\u30ac\u30ca\u53d6\u5f97\u3057\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Item(2).Text<br \/>\n      \u3000\u3000\u3000\u307e\u305f\u306f<br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics(2).Text<\/p>\n<\/p><\/div>\n<br \/><br \/>\n<h3>Phonetics.Visible \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30bb\u30eb\u306b\u3001\u30d5\u30ea\u30ac\u30ca\u3092\u3092\u8868\u793a\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8868\u3059\u30d6\u30fc\u30eb\u578b\uff08Boolean\uff09\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<\/p><\/div>\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>Visible<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>Visible<\/strong> = <em>boolean<\/em><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>boolean&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30bb\u30eb\u306b\u30d5\u30ea\u30ac\u30ca\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001<strong>True<\/strong> \u3092\u3001\u8868\u793a\u3057\u306a\u3044\u5834\u5408\u306f\u3001<strong>False<\/strong> \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/><br \/>\n<h3>Phonetics.Font \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30bb\u30eb\u306b\u8868\u793a\u3055\u308c\u308b\u30d5\u30ea\u30ac\u30ca\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30d5\u30a9\u30f3\u30c8\u3092\u8868\u3059 Font \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Font<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\"><strong>Font \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f\u3001<a href=\"https:\/\/excelwork.info\/excel\/fontsetting\/\">\u30d5\u30a9\u30f3\u30c8\u306e\u8a2d\u5b9a\uff08Font \u30d7\u30ed\u30d1\u30c6\u30a3\uff09<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/p><\/div>\n<br \/><br \/>\n<h3>Phonetics.CharacterType \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30bb\u30eb\u306b\u8868\u793a\u3059\u308b<strong>\u30d5\u30ea\u30ac\u30ca\u306e\u7a2e\u985e<\/strong>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n      \u6307\u5b9a\u3067\u304d\u308b<span class=\"red\">\u30d5\u30ea\u30ac\u30ca\u306e\u7a2e\u985e\u306f\u3001\u300c\u3072\u3089\u304c\u306a\u300d\u300c\u30ab\u30bf\u30ab\u30ca\u300d\u300c\u534a\u89d2\u30ab\u30bf\u30ab\u30ca\u300d\u300c\u7121\u5909\u63db\u300d\u306e\uff14\u7a2e\u985e<\/span>\u3067\u3059\u3002<\/p>\n<\/p><\/div>\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>CharacterType<\/strong><\/p>\n<p>    <span class=\"red\"><strong>\uff1c\u8a2d\u5b9a\uff1e<\/strong><\/span><br \/>\n    <em>object<\/em>.<strong>CharacterType<\/strong> = <em>const<\/em><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>const&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30bb\u30eb\u306b\u8868\u793a\u3059\u308b\u30d5\u30ea\u30ac\u30ca\u306e\u7a2e\u985e\u3092\u8868\u3059 <strong>XlPhoneticCharacterType \u5217\u6319\u578b<\/strong>\u306e\u5b9a\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffcc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"80\" bgcolor=\"#ffffcc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"320\" bgcolor=\"#ffffcc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlKatakanaHalf<\/td>\n<td width=\"80\" align = \"center\">0<\/td>\n<td width=\"320\" >\u534a\u89d2\u30ab\u30bf\u30ab\u30ca<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlKatakana<\/td>\n<td width=\"80\" align = \"center\">1<\/td>\n<td width=\"320\" >\u30ab\u30bf\u30ab\u30ca<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlHiragana<\/td>\n<td width=\"80\" align = \"center\">2<\/td>\n<td width=\"320\" >\u3072\u3089\u304c\u306a<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlNoConversion<\/td>\n<td width=\"80\" align = \"center\">3<\/td>\n<td width=\"320\" >\u7121\u5909\u63db<\/td>\n<\/tr>\n<\/table>\n<\/li>\n<\/ul><\/div>\n<br \/><br \/>\n<h3>Phonetics.Length \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u30d5\u30ea\u30ac\u30ca\u306e\u9577\u3055\uff08\u6587\u5b57\u6570\uff09\u3092\u8868\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Length<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h4>Length \u30d7\u30ed\u30d1\u30c6\u30a3  \u4f7f\u3044\u65b9<\/h4>\n<div class=\"m30-l\">\n<p><strong>\u30bb\u30eb\u300cA1\u300d\u306e\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u306e\u6570\u3092\u8fd4\u3057\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Length<br \/>\n      \u3000\uff08 Range(&#8220;A1&#8221;).Phonetics.Count \u3068\u540c\u3058\uff09<br \/>\n      \u3000\u3000<br \/>\n      <strong>\u30bb\u30eb\u300cA1\u300d\u306e 2 \u756a\u3081\u306e\u30d5\u30ea\u30ac\u30ca\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\u5217\uff08\u6f22\u5b57\uff09\u306e\u9577\u3055\u3092\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Item(2).Length<br \/>\n      \u3000\u3000\u3000\u307e\u305f\u306f<br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics(2).Length<\/p>\n<\/p><\/div>\n<br \/><br \/>\n<h3>Phonetics.Start \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30ea\u30ac\u30ca\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\u5217\uff08\u6f22\u5b57\uff09\u306e\u5148\u982d\u4f4d\u7f6e\u3092\u8868\u3059\u9577\u6574\u6570\u578b\uff08Long\uff09\u306e\u5024\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Start<\/strong><\/p><\/div>\n<br \/>\n<h4>\u5f15\u6570\u30fb\u623b\u308a\u5024<\/h4>\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>Phonetics \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul><\/div>\n<br \/>\n<h4>Start \u30d7\u30ed\u30d1\u30c6\u30a3  \u4f7f\u3044\u65b9<\/h4>\n<div class=\"m30-l\">\n<p><strong>\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Start<br \/>\n      \u3000\u3000<br \/>\n      <strong>\u30bb\u30eb\u300cA1\u300d\u306e 2 \u756a\u3081\u306e\u30d5\u30ea\u30ac\u30ca\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\u5217\uff08\u6f22\u5b57\uff09\u306e\u5148\u982d\u4f4d\u7f6e\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/strong><br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics.Item(2).Start<br \/>\n      \u3000\u3000\u3000\u307e\u305f\u306f<br \/>\n      \u3000\u3000Range(&#8220;A1&#8221;).Phonetics(2).Start<\/p>\n<\/p><\/div>\n<\/div>\n<br \/><br \/>\n<h2>\u30d5\u30ea\u30ac\u30ca\uff08Phonetics \u30d7\u30ed\u30d1\u30c6\u30a3\uff09 \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=\"\u30d5\u30ea\u30ac\u30ca\uff08Phonetics \u30d7\u30ed\u30d1\u30c6\u30a3\uff09 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nOption Base 1\r\n\u3000\r\n\u3000\r\nSub Sample_Phonetics()\r\n\r\n    Dim cnt As Integer, i As Integer\r\n    Dim arrAlig(), arrText(), arrChar(), arrStart(), arrLength()\r\n        \r\n    '\u6587\u5b57\u5217\u306b\u30d5\u30ea\u30ac\u30ca\u3092\u8a2d\u5b9a\r\n    With Range(\"B1\")\r\n    \r\n        .Value = \"\u632f\u4eee\u540d\u306e\u8a2d\u5b9a\u30c6\u30b9\u30c8\u306e\u4f8b\"\r\n        \r\n        With .Phonetics\r\n        \r\n            '\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u3092\u524a\u9664\r\n            .Delete\r\n            \r\n            '\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u3092\u8ffd\u52a0\r\n            .Add 1, 3, \"\u3075\u308a\u304c\u306a\"\r\n            .Add Start:=5, Length:=2, Text:=\"\u30bb\u30c3\u30c6\u30a4\"\r\n            .Add Start:=11, Length:=1, Text:=\"\u308c\u3044\"\r\n            \r\n            '\u30d5\u30ea\u30ac\u30ca\u60c5\u5831\u306e\u6570\r\n            cnt = .Count\r\n        \r\n            For i = 1 To cnt\r\n                ReDim Preserve arrAlig(i), arrText(i), arrChar(i), arrStart(i), arrLength(i)\r\n                \r\n                arrAlig(i) = .Item(i).Alignment         '\u30d5\u30ea\u30ac\u30ca\u306e\u4f4d\u7f6e\r\n                arrText(i) = .Item(i).Text              '\u30d5\u30ea\u30ac\u30ca\r\n                arrChar(i) = .Item(i).CharacterType     '\u30d5\u30ea\u30ac\u30ca\u306e\u7a2e\u985e\r\n                arrStart(i) = .Item(i).Start            '\u30d5\u30ea\u30ac\u30ca\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\uff08\u6f22\u5b57\uff09\u306e\u5148\u982d\u4f4d\u7f6e\r\n                arrLength(i) = .Item(i).Length          '\u30d5\u30ea\u30ac\u30ca\u306b\u5bfe\u5fdc\u3059\u308b\u6587\u5b57\uff08\u6f22\u5b57\uff09\u306e\u9577\u3055\r\n                \r\n            Next i\r\n                \r\n            Range(\"B3\").Value = cnt\r\n            Range(\"B5\").Value = Join(arrAlig, \"\u3000\")\r\n            Range(\"B7\").Value = Join(arrText, \"\u3000\")\r\n            Range(\"B9\").Value = Join(arrChar, \"\u3000\")\r\n            Range(\"B11\").Value = Join(arrStart, \"\u3000\")\r\n            Range(\"B13\").Value = Join(arrLength, \"\u3000\")\r\n            Range(\"B15\").Value = .Font.Name\r\n        \r\n            '\u30d5\u30ea\u30ac\u30ca\u3092\u8868\u793a\r\n            .Visible = True\r\n    \r\n        End With\r\n    \r\n    End With\r\n    \r\n    Range(\"A:B\").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:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellphonetics01.jpg?ssl=1\" rel=\"lightbox[2985]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellphonetics01.jpg?resize=400%2C300&#038;ssl=1\" alt=\"Phonetics \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f8b\" width=\"400\" height=\"300\" class=\"alignnone size-medium wp-image-2987\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellphonetics01.jpg?resize=400%2C300&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellphonetics01.jpg?resize=580%2C435&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellphonetics01.jpg?w=633&amp;ssl=1 633w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>Phonetics \u30d7\u30ed\u30d1\u30c6\u30a3 Phonetics \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u8fd4\u3057\u307e\u3059\u3002\u5024\u306e &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2990,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[473,481,477,480,482,476,479,478,474,475,63,483,38,269],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/08\/cellphonetics01-400x3001.jpg?fit=400%2C300&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-M9","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2985"}],"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=2985"}],"version-history":[{"count":5,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2985\/revisions"}],"predecessor-version":[{"id":3335,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2985\/revisions\/3335"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/2990"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=2985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=2985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=2985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}