{"id":2763,"date":"2015-07-25T16:43:02","date_gmt":"2015-07-25T07:43:02","guid":{"rendered":"http:\/\/excelwork.info\/excel\/?p=2763"},"modified":"2015-08-26T00:42:52","modified_gmt":"2015-08-25T15:42:52","slug":"rangeborders","status":"publish","type":"post","link":"https:\/\/excelwork.info\/excel\/rangeborders\/","title":{"rendered":"\u7f6b\u7dda\u306e\u8a2d\u5b9a\uff08Borders \u30d7\u30ed\u30d1\u30c6\u30a3\uff09"},"content":{"rendered":"<h2>\u7f6b\u7dda\u306e\u8a2d\u5b9a<\/h2>\n<div class=\"m30-l\">\n<p>\u7f6b\u7dda\u3092\u4e00\u62ec\uff08\u4e0a\u4e0b\u5de6\u53f3\u3059\u3079\u3066\uff09\u3067\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001<strong>Borders \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u5358\u4f53\u306e <strong>Border \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong>\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001<strong>Borders(<em>index<\/em>) \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u7f6b\u7dda\uff08\u4e0a\u4e0b\u5de6\u53f3\u4ed6\uff09\u305d\u308c\u305e\u308c\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\uff08<em>index<\/em> \u306b\u306f\u3001\u7f6b\u7dda\u3092\u793a\u3059\u5b9a\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff09<br \/>\n    \u8a2d\u5b9a\u3059\u308b\u4e3b\u306a\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<div class=\"m30-l\">\n<ul style=\"margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;\">\n<li>\u7f6b\u7dda\u306e\u7a2e\u985e\uff08<strong>LineStyle \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff09<\/li>\n<li>\u7f6b\u7dda\u306e\u592a\u3055\uff08<strong>Weight \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff09<\/li>\n<li>\u7f6b\u7dda\u306e\u8272\uff08<strong>Color \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff09<\/li>\n<li>\u7f6b\u7dda\u306e\u8272\uff08<strong>ThemeColor \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff09<\/li>\n<li>\u7f6b\u7dda\u306e\u57fa\u672c\u8272\uff08<strong>ColorIndex \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff09<\/li>\n<li>\u7f6b\u7dda\u306e\u8272\u306e\u660e\u308b\u3055\uff08<strong>TintAndShade \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\uff09<\/li>\n<\/ul><\/div>\n<\/p>\n<br \/>\n<h3>Borders.Item \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p><strong>Borders<\/strong> \u306e<strong>Item \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u306f\u3001\u65e2\u5b9a\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306a\u3063\u3066\u3044\u308b\u305f\u3081\u3001Item \u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u7701\u7565\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Borders<\/strong> ( <em>index<\/em> )<\/p>\n<p>    <em>object<\/em>.<strong>Borders<\/strong>.<strong>Item<\/strong> ( <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>Range \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;\u7f6b\u7dda\u3092\u793a\u3059\u5b9a\u6570\uff08XlBordersIndex \u5217\u6319\uff09\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\" >xlDiagonalDown<\/td>\n<td width=\"80\" align = \"center\">5<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u5404\u30bb\u30eb\u306e\u5de6\u4e0a\u9685\u304b\u3089\u53f3\u4e0b\u3078\u306e\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDiagonalUp<\/td>\n<td width=\"80\" align = \"center\">6<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u5404\u30bb\u30eb\u306e\u5de6\u4e0b\u9685\u304b\u3089\u53f3\u4e0a\u3078\u306e\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlEdgeLeft<\/td>\n<td width=\"80\" align = \"center\">7<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u5de6\u7aef\u306e\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlEdgeTop<\/td>\n<td width=\"80\" align = \"center\">8<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u4e0a\u5074\u306e\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlEdgeBottom<\/td>\n<td width=\"80\" align = \"center\">9<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u4e0b\u5074\u306e\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlEdgeRight<\/td>\n<td width=\"80\" align = \"center\">10<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u53f3\u7aef\u306e\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlInsideVertical<\/td>\n<td width=\"80\" align = \"center\">11<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u3059\u3079\u3066\u306e\u30bb\u30eb\u306e\u5782\u76f4\u7f6b\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlInsideHorizontal<\/td>\n<td width=\"80\" align = \"center\">12<\/td>\n<td width=\"320\" >\u7bc4\u56f2\u5185\u306e\u3059\u3079\u3066\u306e\u30bb\u30eb\u306e\u6c34\u5e73\u7f6b\u7dda<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u4e0a\u306e\u7f6b\u7dda\u306e\u7a2e\u985e\u3092\uff12\u91cd\u7dda\u306b\u8a2d\u5b9a\u3059\u308b<br \/>\n      <strong>\u3000Range(&#8220;C2&#8221;).Borders(xlEdgeTop).LineStyle = xlDouble<\/strong>\n    <\/p>\n<p class=\"caution4\">\u7f6b\u7dda\uff08\u4e0a\u4e0b\u5de6\u53f3\u3059\u3079\u3066\uff09\u3092\u7834\u7dda\u306b\u8a2d\u5b9a\u3059\u308b<br \/>\n      <strong>\u3000Range(&#8220;C2&#8221;).Borders.LineStyle = xlDash<\/strong>\n    <\/p>\n<\/p><\/div>\n<br \/>\n<h3>LineStyle \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u7f6b\u7dda\u306e\u7a2e\u985e\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002\u53d6\u5f97\u306e\u5834\u5408\u3001\u7f6b\u7dda\u306e\u7a2e\u985e\u3092\u8868\u3059\u5b9a\u6570\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>LineStyle<\/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>Borders \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;\u7f6b\u7dda\u306e\u7a2e\u985e\u3092\u8868\u3059\u5b9a\u6570\uff08XlLineStyle \u5217\u6319\uff09\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\" >xlContinuous<\/td>\n<td width=\"80\" align = \"center\">1<\/td>\n<td width=\"320\" >\u5b9f\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDashDot<\/td>\n<td width=\"80\" align = \"center\">4<\/td>\n<td width=\"320\" >\u4e00\u70b9\u9396\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDashDotDot<\/td>\n<td width=\"80\" align = \"center\">5<\/td>\n<td width=\"320\" >\u30cb\u70b9\u9396\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlSlantDashDot<\/td>\n<td width=\"80\" align = \"center\">13<\/td>\n<td width=\"320\" >\u659c\u7834\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDash<\/td>\n<td width=\"80\" align = \"center\">-4115<\/td>\n<td width=\"320\" >\u7834\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDot<\/td>\n<td width=\"80\" align = \"center\">-4118<\/td>\n<td width=\"320\" >\u70b9\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlDouble<\/td>\n<td width=\"80\" align = \"center\">-4119<\/td>\n<td width=\"320\" >2 \u672c\u7dda<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlLineStyleNone<\/td>\n<td width=\"80\" align = \"center\">-4142<\/td>\n<td width=\"320\" >\u7dda\u306a\u3057<\/td>\n<\/tr>\n<\/table>\n<p>\n      <\/li>\n<\/ul>\n<br \/>\n<p class=\"caution4\">\u4e0a\u8a18\u5b9a\u6570\u4ee5\u5916\u306b\u3082 <strong>xlGray25<\/strong>\u3001<strong>xlGray50<\/strong>\u3001<strong>xlGray75<\/strong>\u3001<strong>xlAutomatic<\/strong> \u3082\u6307\u5b9a\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<\/p><\/div>\n<br \/>\n<h3>Weight \u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n<div class=\"m30-l\">\n<p>\u7f6b\u7dda\u306e\u592a\u3055\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u5024\u306e\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002\u53d6\u5f97\u306e\u5834\u5408\u3001\u7f6b\u7dda\u306e\u592a\u3055\u3092\u8868\u3059\u5b9a\u6570\u306e\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/p><\/div>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Weight<\/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>Borders \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;\u7f6b\u7dda\u306e\u592a\u3055\u3092\u8868\u3059\u5b9a\u6570\uff08XlBorderWeight \u5217\u6319\uff09\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\" >xlMedium<\/td>\n<td width=\"80\" align = \"center\">-4138<\/td>\n<td width=\"320\" >\u666e\u901a<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlHairline<\/td>\n<td width=\"80\" align = \"center\">1<\/td>\n<td width=\"320\" >\u7d30\u7dda (\u6700\u3082\u7d30\u3044\u7f6b\u7dda)<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlThin<\/td>\n<td width=\"80\" align = \"center\">2<\/td>\n<td width=\"320\" >\u6975\u7d30<\/td>\n<\/tr>\n<tr>\n<td width=\"250\" >xlThick<\/td>\n<td width=\"80\" align = \"center\">4<\/td>\n<td width=\"320\" >\u592a\u7dda (\u6700\u3082\u592a\u3044\u7f6b\u7dda)<\/td>\n<\/tr>\n<\/table>\n<\/li>\n<\/ul><\/div>\n<br \/>\n<h3>\u7f6b\u7dda\u306e\u8272\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n<div class=\"m30-l\">\n<p><strong>Color \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3001<strong>ColorIndex \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u3001<strong>ThemeColor \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbTintAndShade \u30d7\u30ed\u30d1\u30c6\u30a3<\/strong>\u306a\u3069\u3092\u4f7f\u7528\u3057\u3066\u7f6b\u7dda\u306e\u8272\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3044\u305a\u308c\u3082\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u3001\u5024\u306e\u53d6\u5f97\u304a\u3088\u3073\u8a2d\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<\/p><\/div>\n<div class=\"kkbox\"><strong>\u3010\u66f8\u5f0f\u3011<\/strong><\/p>\n<p>    <em>object<\/em>.<strong>Color<\/strong> = <em>rgb<\/em><\/p>\n<p>    <em>object<\/em>.<strong>ColorIndex<\/strong> = <em>c_index<\/em><\/p>\n<p>    <em>object<\/em>.<strong>ThemeColor<\/strong> = <em>t_index<\/em><\/p>\n<p>    <em>object<\/em>.<strong>TintAndShade<\/strong> = <em>single<\/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>Borders \u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>rgb&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8272\u3092\u8868\u3059 <strong>RGB \u5024<\/strong>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\u3000\u3000\u21d2 <a href=\"https:\/\/excelwork.info\/excel\/colorrgb\/\">\u8272\u306e\u8a2d\u5b9a\uff1aColor \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbRGB \u95a2\u6570<\/a><\/li>\n<li>c_index&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30ab\u30e9\u30fc\u30d1\u30ec\u30c3\u30c8\u306e\u8272\u3092\u8868\u3059 <strong>1 \uff5e 56<\/strong> \u306e\u30d1\u30ec\u30c3\u30c8\u756a\u53f7\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\u3000\u3000\u21d2 <a href=\"https:\/\/excelwork.info\/excel\/colorindexcolors\/\">\u8272\u306e\u8a2d\u5b9a\uff1aColorIndex \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbColors \u30d7\u30ed\u30d1\u30c6\u30a3<\/a><\/li>\n<li>t_index&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u30c6\u30fc\u30de\u30ab\u30e9\u30fc\u306e\u57fa\u672c\u8272\u3092\u8868\u3059<strong>MsoThemeColorSchemeindex \u5217\u6319\u578b<\/strong>\u306e\u5b9a\u6570\u307e\u305f\u306f\u5024\uff08<strong>1 \uff5e 12<\/strong>\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\u3000\u3000\u21d2 <a href=\"https:\/\/excelwork.info\/excel\/themecolorshade\/\">\u8272\u306e\u8a2d\u5b9a\uff1aThemeColor \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbTintAndShade \u30d7\u30ed\u30d1\u30c6\u30a3<\/a><\/li>\n<li>single&nbsp;&nbsp;\u30fb\u30fb\u30fb&nbsp;&nbsp;\u8272\u306e\u660e\u308b\u3055\u3092 <strong>-1\uff08\u6697\u3044\uff09<\/strong> \uff5e <strong>1\uff08\u660e\u308b\u3044\uff09<\/strong>\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\u3000\u3000\u21d2 <a href=\"https:\/\/excelwork.info\/excel\/themecolorshade\/\">\u8272\u306e\u8a2d\u5b9a\uff1aThemeColor \u30d7\u30ed\u30d1\u30c6\u30a3\u30fbTintAndShade \u30d7\u30ed\u30d1\u30c6\u30a3<\/a><\/li>\n<\/ul><\/div>\n<\/div>\n<br \/><br \/>\n<h2>Borders \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=\"Borders \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f7f\u7528\u4f8b\" data-url=\"http:\/\/example.co.jp\" >\r\n\u3000\r\nSub Sample_Borders()\r\n\r\n    Dim myRng As Range\r\n    \r\n    '\u30bb\u30eb\u300cB2:I11\u300d\r\n    Set myRng = Range(\"B2:I11\")\r\n    \r\n    With myRng.Borders\r\n        \r\n        '\u7bc4\u56f2\u5185\u5168\u3066\u306e\u7f6b\u7dda \u9ed2\u30fb\u5b9f\u7dda\u30fb\u666e\u901a\u7dda\r\n        .Color = rgbBlack\r\n        .LineStyle = xlContinuous\r\n        .Weight = xlMedium\r\n        \r\n        '\u7bc4\u56f2\u5185\u306e\u6c34\u5e73\u7f6b\u7dda\u306e\u307f \u8d64\u30fb\u30cb\u70b9\u9396\u7dda\u30fb\u7d30\u7dda\r\n        .Item(xlInsideHorizontal).Color = rgbRed\r\n        .Item(xlInsideHorizontal).LineStyle = xlDashDotDot\r\n        .Item(xlInsideHorizontal).Weight = xlHairline\r\n        \r\n        '\u7bc4\u56f2\u4e0a\u306e\u307f \u9752\u30fb\u592a\u7dda\r\n        .Item(xlEdgeTop).Color = rgbBlue\r\n        .Item(xlEdgeTop).Weight = xlThick\r\n        \r\n        '\u7bc4\u56f2\u4e0b\u306e\u307f \u9752\u30fb\u592a\u7dda\r\n        .Item(xlEdgeBottom).Color = rgbBlue\r\n        .Item(xlEdgeTop).Weight = xlThick\r\n        \r\n        '\u7bc4\u56f2\u5de6\u306e\u307f \u7dd1\u30fb\u592a\u7dda\r\n        .Item(xlEdgeLeft).Color = rgbGreen\r\n        .Item(xlEdgeLeft).Weight = xlThick\r\n        \r\n        '\u7bc4\u56f2\u53f3\u306e\u307f \u7dd1\u30fb\u592a\u7dda\r\n        .Item(xlEdgeRight).Color = rgbGreen\r\n        .Item(xlEdgeRight).Weight = xlThick\r\n\r\n    End With\r\n    \r\n    '\u30bb\u30eb\u300cB8:B11\u300d\u306b\u5de6\u4e0b\u304b\u3089\u53f3\u4e0a\u306e\u659c\u7f6b\u7dda\r\n    With Range(\"B8:B11\").Borders(xlDiagonalUp)\r\n        \r\n        '\u4e8c\u91cd\u7dda\r\n        .LineStyle = xlDouble\r\n        \r\n        '\u8272\u306e\u8a2d\u5b9a\r\n        .Color = RGB(220, 150, 20)\r\n        \r\n        '\u592a\u3055\uff08\u666e\u901a\uff09\r\n        .Weight = xlMedium\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><a href=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/rangeborders01.jpg?ssl=1\" rel=\"lightbox[2763]\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/rangeborders01.jpg?resize=400%2C185&#038;ssl=1\" alt=\"Borders \u30d7\u30ed\u30d1\u30c6\u30a3 \u4f8b\" width=\"400\" height=\"185\" class=\"alignnone size-medium wp-image-2775\" srcset=\"https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/rangeborders01.jpg?resize=400%2C185&amp;ssl=1 400w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/rangeborders01.jpg?resize=580%2C268&amp;ssl=1 580w, https:\/\/i0.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/rangeborders01.jpg?w=755&amp;ssl=1 755w\" sizes=\"(max-width: 400px) 100vw, 400px\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<\/div>\n<br \/>\n","protected":false},"excerpt":{"rendered":"<p>\u7f6b\u7dda\u306e\u8a2d\u5b9a \u7f6b\u7dda\u3092\u4e00\u62ec\uff08\u4e0a\u4e0b\u5de6\u53f3\u3059\u3079\u3066\uff09\u3067\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001Borders \u30d7\u30ed\u30d1\u30c6 &#8230; <\/p>\n","protected":false},"author":1,"featured_media":2832,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"amp_status":"","spay_email":"","jetpack_publicize_message":""},"categories":[268],"tags":[432,404,433,270,63,434,38,269,435],"jetpack_featured_media_url":"https:\/\/i2.wp.com\/excelwork.info\/excel\/wp\/wp-content\/uploads\/2015\/07\/rangeborders01-400x1851.jpg?fit=400%2C185&ssl=1","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4Ye9i-Iz","_links":{"self":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2763"}],"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=2763"}],"version-history":[{"count":16,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2763\/revisions"}],"predecessor-version":[{"id":3345,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/posts\/2763\/revisions\/3345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media\/2832"}],"wp:attachment":[{"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/media?parent=2763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/categories?post=2763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/excelwork.info\/excel\/wp-json\/wp\/v2\/tags?post=2763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}