{"id":3486,"date":"2015-09-04T14:13:28","date_gmt":"2015-09-04T05:13:28","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=3486"},"modified":"2015-09-04T14:13:28","modified_gmt":"2015-09-04T05:13:28","slug":"datavalidation05","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/datavalidation05\/","title":{"rendered":"\u5165\u529b\u898f\u5247\uff08\u65e5\u672c\u8a9e\u5165\u529b\uff09Validation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8,IMEMode \u30d7\u30ed\u30d1\u30c6\u30a3"},"content":{"rendered":"<h2>IMEMode \u30d7\u30ed\u30d1\u30c6\u30a3<\/h2>\n<div class=\"m30-l\">\n<p><strong>Validation.IMEMode \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong> \u3092\u4f7f\u3046\u3068\u3001\u30bb\u30eb\u3054\u3068\u306b\u65e5\u672c\u8a9e\u5165\u529b\u30e2\u30fc\u30c9\u306e\u30aa\u30f3\uff0f\u30aa\u30d5\u3092\u5207\u308a\u66ff\u3048\u305f\u308a\u3001\u534a\u89d2\u82f1\u6570\u5b57\u306e\u307f\u5165\u529b\u3092\u8a31\u53ef\u3057\u305f\u308a\u3068\u3044\u3063\u305f\u3053\u3068\u304c\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>IMEMode<\/strong> = <em>const<\/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>Validation \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;\u65e5\u672c\u8a9e\u5165\u529b\u898f\u5247\u306e\u5185\u5bb9\u3092\u8868\u3059 <strong>XlIMEMode \u5217\u6319\u578b<\/strong> \u306e\u5b9a\u6570\u307e\u305f\u306f\u305d\u306e\u5024\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<table>\n<tr>\n<td align = \"center\" width=\"250\" bgcolor=\"#ffffccc\"><strong>\u5b9a\u6570<\/strong><\/td>\n<td align = \"center\" width=\"80\" bgcolor=\"#ffffccc\"><strong>\u5024<\/strong><\/td>\n<td align = \"center\" width=\"320\" bgcolor=\"#ffffccc\"><strong>\u5185\u5bb9<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeNoControl<\/td>\n<td width=\"80\" align = \"center\">0<\/td>\n<td width=\"320\">\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306a\u3057<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeOn<\/td>\n<td width=\"80\" align = \"center\">1<\/td>\n<td width=\"320\">\u30e2\u30fc\u30c9 \u30aa\u30f3<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeOff<\/td>\n<td width=\"80\" align = \"center\">2<\/td>\n<td width=\"320\">\u30aa\u30d5 (\u82f1\u8a9e\u30e2\u30fc\u30c9)<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeDisable<\/td>\n<td width=\"80\" align = \"center\">3<\/td>\n<td width=\"320\">\u7121\u52b9<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeHiragana<\/td>\n<td width=\"80\" align = \"center\">4<\/td>\n<td width=\"320\">\u3072\u3089\u304c\u306a<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeKatakana<\/td>\n<td width=\"80\" align = \"center\">5<\/td>\n<td width=\"320\">\u30ab\u30bf\u30ab\u30ca<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeKatakanaHalf<\/td>\n<td width=\"80\" align = \"center\">6<\/td>\n<td width=\"320\">\u534a\u89d2\u30ab\u30bf\u30ab\u30ca<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeAlphaFull<\/td>\n<td width=\"80\" align = \"center\">7<\/td>\n<td width=\"320\">\u5168\u89d2\u82f1\u6570\u5b57<\/td>\n<\/tr>\n<tr>\n<td width=\"250\">xlIMEModeAlpha<\/td>\n<td width=\"80\" align = \"center\">8<\/td>\n<td width=\"320\">\u534a\u89d2\u82f1\u6570\u5b57<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/><\/div>\n<\/div>\n<br \/><br \/>\n<h2>\u5165\u529b\u898f\u5247\uff08\u65e5\u672c\u8a9e\u5165\u529b\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=\"\u5165\u529b\u898f\u5247\uff08\u65e5\u672c\u8a9e\u5165\u529b\uff09\u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample05_Validation()\r\n\r\n    With Range(\"B3:B10\").Validation\r\n\r\n        '\u5165\u529b\u898f\u5247\u3092\u524a\u9664\r\n        .Delete\r\n        \r\n        '\u5165\u529b\u898f\u5247\u3092\u8a2d\u5b9a\r\n        '\u5165\u529b\u306e\u5236\u9650\u306a\u3057\r\n        .Add Type:=xlValidateInputOnly, _\r\n             AlertStyle:=xlValidAlertStop\r\n\r\n        \r\n        .IgnoreBlank = True         '\u7a7a\u767d\u3092\u7121\u8996\r\n        .IMEMode = xlIMEModeOn      '\u81ea\u52d5\u7684\u306b\u65e5\u672c\u8a9e\u5165\u529b\u30e2\u30fc\u30c9\u3092\u30aa\u30f3\r\n    \r\n    End With\r\n\r\n\r\nEnd Sub\r\n\u3000\r\n  <\/pre>\n<br \/>\n<h3>\u5b9f\u884c\u7d50\u679c<\/h3>\n<p>\u5165\u529b\u898f\u5247\u3092\u8a2d\u5b9a\u3057\u305f\u30bb\u30eb\u306b\u5165\u529b<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/validation_005_01.jpg?ssl=1\" rel=\"lightbox[3486]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/validation_005_01.jpg?resize=377%2C349&#038;ssl=1\" alt=\"Validation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 \u4f7f\u7528\u4f8b\uff15\" width=\"377\" height=\"349\" class=\"alignnone size-full wp-image-3487\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>IMEMode \u30d7\u30ed\u30d1\u30c6\u30a3 Validation.IMEMode \u30d7\u30ed\u30d1\u30c6\u30a3 \u3092 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":3487,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[270,538,545,63,38,269],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/09\/validation_005_01.jpg?fit=377%2C349&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-Ue","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3486"}],"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=3486"}],"version-history":[{"count":2,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3486\/revisions"}],"predecessor-version":[{"id":3548,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/3486\/revisions\/3548"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/3487"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=3486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=3486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=3486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}