{"id":12662,"date":"2020-04-29T16:02:16","date_gmt":"2020-04-29T07:02:16","guid":{"rendered":"https:\/\/www.ka-net.org\/blog\/?p=12662"},"modified":"2020-04-29T16:11:16","modified_gmt":"2020-04-29T07:11:16","slug":"slack%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e7%b5%b5%e6%96%87%e5%ad%97%e3%82%92%e4%b8%80%e6%8b%ac%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8bvba%e3%83%9e%e3%82%af%e3%83%ad","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=12662","title":{"rendered":"Slack\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u4e00\u62ec\u4f5c\u6210\u3059\u308bVBA\u30de\u30af\u30ed"},"content":{"rendered":"<p>\u5728\u5b85\u52e4\u52d9\u3067\u4f7f\u3046\u30d3\u30b8\u30cd\u30b9\u30c1\u30e3\u30c3\u30c8\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u6ce8\u76ee\u3055\u308c\u3066\u3044\u308b\u300c<a href=\"https:\/\/slack.com\/intl\/ja-jp\/\" title=\"\u305d\u306e\u4ed5\u4e8b\u3001Slack \u3067\u3002 | Slack\" target=\"_blank\" rel=\"noopener noreferrer\">Slack<\/a>\u300d\u3001\u79c1\u306e\u4f1a\u793e\u3067\u3082\u5c0e\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Slack\u306b\u306f<a href=\"https:\/\/slack.com\/intl\/ja-jp\/help\/articles\/206870177-%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E7%B5%B5%E6%96%87%E5%AD%97%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B\" title=\"\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u8ffd\u52a0\u3059\u308b | Slack\" target=\"_blank\" rel=\"noopener noreferrer\">\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57<\/a>\u6a5f\u80fd\u304c\u3042\u308a\u3001\u79c1\u306e\u4f1a\u793e\u3067\u3082\u300c<a href=\"https:\/\/emoji-gen.ninja\/\" title=\"\u7d75\u6587\u5b57\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc - Slack \u5411\u3051\u7d75\u6587\u5b57\u3092\u7121\u6599\u3067\u7c21\u5358\u751f\u6210\" target=\"_blank\" rel=\"noopener noreferrer\">\u7d75\u6587\u5b57\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc<\/a>\u300d\u3067\u4f5c\u6210\u3057\u305f\u3001<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_01.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_01.png\" alt=\"\" width=\"128\" height=\"128\" class=\"alignnone size-full wp-image-12663\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_01.png 128w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_01-120x120.png 120w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/a><\/p>\n<p>\u3084<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_02.png\" alt=\"\" width=\"128\" height=\"128\" class=\"alignnone size-full wp-image-12664\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_02.png 128w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_02-120x120.png 120w\" sizes=\"auto, (max-width: 128px) 100vw, 128px\" \/><\/a><\/p>\n<p>\u3068\u3044\u3063\u305f\u7d75\u6587\u5b57\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u7dcf\u52d9\u3068\u3044\u3046\u7acb\u5834\u4e0a\u3001\u793e\u5185Slack\u306e\u7ba1\u7406\u3082\u884c\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u5148\u65e5\u3042\u308b\u793e\u54e1\u304b\u3089<i>\u300c\u81ea\u5206\u306e\u540d\u524d\u306e\u7d75\u6587\u5b57\u304c\u6b32\u3057\u3044\u3093\u3060\u3051\u3069\u30fc\u300d<\/i>\u3068\u3001\u76f8\u8ac7\u3092\u53d7\u3051\u307e\u3057\u305f\u3002<\/p>\n<p>\u306a\u308b\u307b\u3069\u3002<br \/>\n\u305f\u3057\u304b\u306b\u300c\u7530\u4e2d\u300d\u3084\u300c\u4f50\u85e4\u300d\u3068\u3044\u3063\u305f\u7d75\u6587\u5b57\u304c\u3042\u308b\u3068\u4fbf\u5229\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001<a href=\"https:\/\/emoji-gen.ninja\/\" title=\"\u7d75\u6587\u5b57\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc - Slack \u5411\u3051\u7d75\u6587\u5b57\u3092\u7121\u6599\u3067\u7c21\u5358\u751f\u6210\" target=\"_blank\" rel=\"noopener noreferrer\">\u7d75\u6587\u5b57\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc<\/a>\u3067\u500b\u4eba\u60c5\u5831\u3068\u306a\u308b\u540d\u524d\u3067\u7d75\u6587\u5b57\u3092\u4f5c\u6210\u3059\u308b\u308f\u3051\u306b\u306f\u3044\u304d\u307e\u305b\u3093\u3057\u3001\u305d\u3082\u305d\u3082\u5168\u5f93\u696d\u54e1\u5206\u306e\u7d75\u6587\u5b57\u3092\u4e00\u3064\u305a\u3064\u624b\u4f5c\u696d\u3067\u4f5c\u6210\u3059\u308b\u306e\u3082\u5927\u5909\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001Excel\u306e\u5f93\u696d\u54e1\u30ea\u30b9\u30c8\u3092\u5143\u306b\u3001Slack\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u4e00\u62ec\u3067\u4f5c\u6210\u3059\u308b\u30de\u30af\u30ed\u3092\u66f8\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h4 class=\"style4a\">\u51e6\u7406\u5185\u5bb9<\/h4>\n<p>\u30de\u30af\u30ed\u306e\u5927\u307e\u304b\u306a\u51e6\u7406\u5185\u5bb9\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u306e\u5143\u3068\u306a\u308b\u753b\u50cf(\u30b7\u30a7\u30a4\u30d7)\u3092\u4f5c\u6210<\/li>\n<li>\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc<\/li>\n<li>\u753b\u50cf\u3068\u3057\u3066\u4fdd\u5b58<\/li>\n<\/ol>\n<p>\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u753b\u50cf\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b\u969b\u306b\u4f7f\u3046\u306e\u304c\u3001\u524d\u56de\u306e\u8a18\u4e8b(\u4e0b\u8a18)\u3067\u7d39\u4ecb\u3057\u305f\u30c4\u30fc\u30eb(CB2IMG)\u3067\u3059\u3002<\/p>\n<div class=\"cardlink\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=12657\"><div class=\"cardlink_thumbnail\"><img src='https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/cb2img_03-120x120.jpg' alt='\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u3042\u308b\u753b\u50cf\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308bC#\u30b3\u30fc\u30c9' width=120 height=120 \/><\/a><\/div><div class=\"cardlink_content\"><span class=\"timestamp\">2020.04.27<\/span><div class=\"cardlink_title\"><a href=\"https:\/\/www.ka-net.org\/blog\/?p=12657\">\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u3042\u308b\u753b\u50cf\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308bC#\u30b3\u30fc\u30c9 <\/a><\/div><div class=\"cardlink_excerpt\">\u3068\u3042\u308b\u76ee\u7684\u3067\u3001\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u753b\u50cf\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b\u51e6\u7406\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\r\n\r\n\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3082\u898b\u3064\u3051\u307e\u3057\u305f\u304c\u3001\u4efb\u610f\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u4efb\u610f\u306e\u5834\u6240\u306b\u30d5\u30a1\u30a4\u30eb\u4fdd\u5b58\u3057\u305f\u304b\u3063\u305f\u306e\u3067\u3001\u81ea\u5206\u3067\u66f8\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\r\n\r\n\r\n\r\n\u4e0b\u8a18\u306e\u901a\u308a\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3067...<\/div><\/div><div class=\"cardlink_footer\"><\/div><\/div>\n<p>VBA\u3067\u3059\u3079\u3066\u306e\u51e6\u7406\u3092\u66f8\u3051\u306a\u3044\u3053\u3068\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u30b3\u30fc\u30c9\u304c\u8907\u96d1\u306b\u306a\u308b\u4e0a\u306b\u3001\u900f\u904e\u8272\u3084\u753b\u8cea\u306b\u307e\u3067\u3053\u3060\u308f\u308a\u51fa\u3059\u3068\u975e\u5e38\u306b\u9762\u5012\u304f\u3055\u3044\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u3053\u306e\u90e8\u5206\u306f\u7121\u7406\u305b\u305a\u5916\u306b\u51fa\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u201c\u3059\u3079\u3066\u306e\u51e6\u7406\u3092VBA\u3067\u7247\u3065\u3051\u306a\u3044\u201d<\/span>\u3001\u5b9f\u904b\u7528\u4e0a\u3067\u306f\u305d\u3093\u306a\u8996\u70b9\u3082\u5927\u4e8b\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4 class=\"style4a\">\u7d75\u6587\u5b57\u7528\u30b7\u30a7\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308bVBA\u30b3\u30fc\u30c9<\/h4>\n<p>\u307e\u305a\u306f\u6838\u3068\u306a\u308b\u3001\u7d75\u6587\u5b57\u7528\u30b7\u30a7\u30a4\u30d7\u3092\u4f5c\u6210\u3059\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002<br \/>\n\u67a0\u7dda\u3084\u6587\u5b57\u914d\u7f6e\u7b49\u3044\u308d\u3044\u308d\u3068\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30dd\u30a4\u30f3\u30c8\u306f\u30ef\u30fc\u30c9\u30a2\u30fc\u30c8\u306e\u300c\u5909\u5f62\u300d\u306b\u3042\u308b\u300c<a href=\"http:\/\/www4.synapse.ne.jp\/yone\/excel2010\/faq\/wordart_kakudai.html\" title=\"\u30ef\u30fc\u30c9\u30a2\u30fc\u30c8\u306e\u67a0\u3092\u30c9\u30e9\u30c3\u30b0\u3057\u3066\u62e1\u5927\/\u7e2e\u5c0f\u304c\u3067\u304d\u306a\u3044?\uff1a\u30a8\u30af\u30bb\u30eb2010\u57fa\u672c\u8b1b\u5ea7\" target=\"_blank\" rel=\"noopener noreferrer\">\u56db\u89d2<\/a>\u300d\u3067\u3059\u3002<br \/>\n\u3053\u308c\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u67a0\u3044\u3063\u3071\u3044\u306b\u6587\u5b57\u304c\u5e83\u304c\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u306b\u3057\u305f\u3068\u304d\u306b\u898b\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Private Function InsertShape(ByVal sht As Excel.Worksheet, _\r\n                             ByVal shpText As String, _\r\n                             Optional ByVal shpFontName As String = &quot;MS UI Gothic&quot;, _\r\n                             Optional ByVal shpForeColor As Long = &amp;H0&amp;, _\r\n                             Optional ByVal shpBackColor As Long = &amp;HFFFFFF) As Excel.Shape\r\n'\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u306e\u5143\u3068\u306a\u308b\u30a4\u30e1\u30fc\u30b8\u4f5c\u6210\r\n'\r\n' sht:\u30a4\u30e1\u30fc\u30b8\u4f5c\u6210\u5148\u306e\u30b7\u30fc\u30c8\r\n' shpText:\u6587\u5b57\u5217\r\n' shpFontName:\u30d5\u30a9\u30f3\u30c8\r\n' shpForeColor:\u6587\u5b57\u8272\r\n' shpBackColor:\u80cc\u666f\u8272\r\n'\r\n\r\n  Dim shp As Excel.Shape\r\n  \r\n  Set shp = sht.Shapes.AddTextbox(msoTextOrientationHorizontal, 0, 0, 0, 0)\r\n  With shp\r\n    .TextEffect.PresetShape = msoTextEffectShapePlainText\r\n    .ScaleHeight 1, msoFalse, msoScaleFromTopLeft\r\n    .ScaleWidth 1, msoFalse, msoScaleFromTopLeft\r\n    .Height = 94.5 '\u51fa\u529b\u5f8c\u306e\u30b5\u30a4\u30ba\u304c\u5927\u4f53 128 x 128\u30d4\u30af\u30bb\u30eb \u3068\u306a\u308b\u3088\u3046\u306b\u8abf\u6574\r\n    .Width = 94.8\r\n    .Line.Visible = msoFalse\r\n    With .Fill\r\n      '.Visible = msoFalse\r\n      .Visible = msoTrue\r\n      .ForeColor.RGB = shpBackColor\r\n      .Transparency = 0\r\n      .Solid\r\n    End With\r\n    With .TextFrame2\r\n      .VerticalAnchor = msoAnchorMiddle\r\n      .HorizontalAnchor = msoAnchorCenter\r\n      .WordArtformat = msoTextEffect1\r\n      With .TextRange\r\n        .ParagraphFormat.Alignment = msoAlignCenter\r\n        .ParagraphFormat.LineRuleWithin = msoFalse\r\n        .ParagraphFormat.SpaceWithin = 10 '\u6bb5\u843d\u306e\u9593\u969410pt\r\n        If Len(shpText) &gt; 2 Then\r\n          .Text = Mid(shpText, 1, 2) &amp; vbNewLine &amp; Mid(shpText, 3) '3\u6587\u5b57\u76ee\u4ee5\u964d\u306f\u6539\u884c\r\n        Else\r\n          .Text = shpText\r\n        End If\r\n      End With\r\n      With .TextRange.Font\r\n        '.Line.Visible = msoFalse\r\n        .Line.Transparency = 1\r\n        .Shadow.Visible = msoFalse\r\n        .Bold = msoTrue\r\n        .Fill.ForeColor.RGB = shpForeColor\r\n        .Name = shpFontName\r\n        .NameAscii = shpFontName\r\n        .NameFarEast = shpFontName\r\n        .NameOther = shpFontName\r\n      End With\r\n    End With\r\n  End With\r\n  Set InsertShape = shp\r\nEnd Function<\/pre>\n<p>\u4f7f\u3044\u65b9\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub Sample()\r\n  Dim shp As Excel.Shape\r\n  Const cb2img As String = &quot;C:\\wk\\CB2IMG\\CB2IMG.exe&quot; 'CB2IMG\u306e\u30d1\u30b9\r\n  \r\n  '\u5143\u753b\u50cf\u4f5c\u6210\r\n  Set shp = InsertShape(ActiveSheet, _\r\n                        &quot;\u9f4b\u85e4\u82b1\u5b50&quot;, _\r\n                        &quot;UD Digi Kyokasho N-B&quot;, _\r\n                        &amp;HFFFFFF, _\r\n                        &amp;H57972B)\r\n  '\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\r\n  shp.Copy\r\n  'CB2IMG\u3092\u5b9f\u884c\u3057\u3066\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3055\u308c\u305f\u753b\u50cf\u3092\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\r\n  Shell &quot;&quot;&quot;&quot; &amp; cb2img &amp; &quot;&quot;&quot; &quot; &amp; &quot;&quot;&quot;C:\\wk\\CB2IMG\\img\\TEST.png&quot;&quot;&quot;, vbNormalFocus\r\nEnd Sub<\/pre>\n<p>\u300cInsertShape\u300d\u3067\u4f5c\u6210\u3057\u305f\u30b7\u30a7\u30a4\u30d7\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u3001\u305d\u306e\u5f8c\u300cCB2IMG\u300d\u3092\u5b9f\u884c\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_03.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_03.png\" alt=\"\" width=\"476\" height=\"363\" class=\"alignnone size-full wp-image-12665\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_03.png 476w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_03-300x229.png 300w\" sizes=\"auto, (max-width: 476px) 100vw, 476px\" \/><\/a><\/p>\n<h4 class=\"style4a\">Slack\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u4e00\u62ec\u4f5c\u6210\u3059\u308bVBA\u30b3\u30fc\u30c9<\/h4>\n<p>\u3042\u3068\u306f\u5f93\u696d\u54e1\u30ea\u30b9\u30c8\u3092\u7528\u610f\u3057\u3066\u7e70\u308a\u8fd4\u3057\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br \/>\n\u30c6\u30b9\u30c8\u306b\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306a\u3001\u300c<a href=\"http:\/\/hogehoge.tk\/personal\/\" title=\"\u7591\u4f3c\u500b\u4eba\u60c5\u5831\u30c7\u30fc\u30bf\u751f\u6210\u30b5\u30fc\u30d3\u30b9\" target=\"_blank\" rel=\"noopener noreferrer\">\u7591\u4f3c\u500b\u4eba\u60c5\u5831\u30c7\u30fc\u30bf\u751f\u6210\u30b5\u30fc\u30d3\u30b9<\/a>\u300d\u3067\u751f\u6210\u3057\u305f\u30c0\u30df\u30fc\u30c7\u30fc\u30bf\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_04.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_04.png\" alt=\"\" width=\"497\" height=\"456\" class=\"alignnone size-full wp-image-12666\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_04.png 497w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_04-300x275.png 300w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/a><\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">Public Sub BatchCreateEmoji()\r\n'Slack\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u4e00\u62ec\u4f5c\u6210\r\n  Dim sht As Excel.Worksheet\r\n  Dim shp As Excel.Shape\r\n  Dim wsh As Object\r\n  Dim i As Long\r\n  Const cb2img As String = &quot;C:\\wk\\CB2IMG\\CB2IMG.exe&quot; 'CB2IMG\u306e\u30d1\u30b9\r\n  Const savefolder As String = &quot;C:\\wk\\CB2IMG\\img\\&quot; '\u753b\u50cf\u4fdd\u5b58\u5148\r\n  \r\n  Set wsh = CreateObject(&quot;Wscript.Shell&quot;)\r\n  Set sht = ActiveSheet\r\n  With sht\r\n    For i = 2 To .Cells(.Rows.Count, 1).End(xlUp).Row\r\n      Set shp = InsertShape(sht, .Cells(i, 4).Value, , &amp;H1400E5)\r\n      DoEvents\r\n      shp.Copy\r\n       wsh.Run &quot;&quot;&quot;&quot; &amp; cb2img &amp; &quot;&quot;&quot; &quot; &amp; &quot;&quot;&quot;&quot; &amp; savefolder &amp; &quot;name-&quot; &amp; .Cells(i, 5).Value &amp; .Cells(i, 6).Value &amp; &quot;.png&quot;&quot;&quot;, 0, True '\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\uff06\u51e6\u7406\u5f85\u3061\r\n      shp.Delete\r\n    Next\r\n  End With\r\n  MsgBox &quot;\u51e6\u7406\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002&quot;, vbSystemModal + vbInformation\r\nEnd Sub<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3067\u306f\u3001CB2IMG\u306e\u7d42\u4e86\u5f85\u3061\u3092\u884c\u3046\u305f\u3081\u3001<a href=\"https:\/\/www.atmarkit.co.jp\/ait\/articles\/0407\/08\/news101_2.html\" title=\"\u7b2c5\u56de\u3000WshShell\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8a73\u7d30\uff081\uff09 (2\/4)\uff1aWindows\u7ba1\u7406\u8005\u306e\u305f\u3081\u306eWindows Script Host\u5165\u9580 - \uff20IT\" target=\"_blank\" rel=\"noopener noreferrer\">WshShell.Run<\/a>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n(\u51e6\u7406\u4e2d\u306b<a href=\"http:\/\/officetanaka.net\/excel\/vba\/tips\/tips116.htm\" title=\"Office TANAKA - Excel VBA Tips[CPU\u306e\u4f7f\u7528\u7387\u3092\u6291\u3048\u308b\u65b9\u6cd5]\" target=\"_blank\" rel=\"noopener noreferrer\">Sleep<\/a>\u3092\u631f\u3093\u3060\u65b9\u304c\u5b89\u5b9a\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002)<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_05.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_05.png\" alt=\"\" width=\"900\" height=\"644\" class=\"alignnone size-full wp-image-12667\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_05.png 900w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_05-300x215.png 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_05-768x550.png 768w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p>\u5b9f\u969b\u306bSlack\u3067\u767b\u9332\u3057\u3066\u4f7f\u3063\u305f\u306e\u304c\u4e0b\u56f3\u3067\u3059\u3002<br \/>\n\u30d5\u30a9\u30f3\u30c8\u3084\u6587\u5b57\u8272\u3092\u8abf\u6574\u3059\u308c\u3070\u3001\u3082\u3063\u3068\u898b\u3084\u3059\u304f\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_06.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_06.png\" alt=\"\" width=\"186\" height=\"171\" class=\"alignnone size-full wp-image-12668\" \/><\/a><\/p>\n<p>\u753b\u50cf\u304c\u7528\u610f\u3067\u304d\u305f\u3089\u5f8c\u306f\u30a2\u30c3\u30d7\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br \/>\n\u300c<a href=\"https:\/\/chrome.google.com\/webstore\/detail\/neutral-face-emoji-tools\/anchoacphlfbdomdlomnbbfhcmcdmjej\" title=\"Neutral Face Emoji Tools - Chrome \u30a6\u30a7\u30d6\u30b9\u30c8\u30a2\" target=\"_blank\" rel=\"noopener noreferrer\">Neutral Face Emoji Tools<\/a>\u300d\u3092\u4f7f\u3048\u3070\u3001\u4e00\u62ec\u3067\u767b\u9332\u3067\u304d\u308b\u306e\u3060\u3068\u304b\u3002<br \/>\n(\u3059\u307f\u307e\u305b\u3093\u3002\u79c1\u306f\u4f7f\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u3067\u3059\u30fb\u30fb\u30fb&#x1f605;)<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/qiita.com\/YumaInaura\/items\/f12928a2063e02ac24e5\" target=\"_blank\" rel=\"external nofollow noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=qiita.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">Qiita<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fqiita.com%2FYumaInaura%2Fitems%2Ff12928a2063e02ac24e5?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Slack\u7d75\u6587\u5b57\u306f\u4e00\u6589\u767b\u9332\u3067\u304d\u308b\u3089\u3057\u3044? GoogleChrome\u62e1\u5f35\u3067\u3002 - Qiita<\/div><div class=\"lkc-url\" title=\"https:\/\/qiita.com\/YumaInaura\/items\/f12928a2063e02ac24e5\">https:\/\/qiita.com\/YumaInaura\/items\/f12928a2063e02ac24e5<\/div><div class=\"lkc-excerpt\">inspired 15,000\u500b\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u652f\u3048\u308b\u3001Slack\u7d75\u6587\u5b57\u767b\u9332\u8853 - QiitaNeutral Face Emoji Tools \u306e\u4f7f\u3044\u65b9MAc\u74b0\u5883\u3067\u5b9f\u9a13\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebNeutral Face Em...<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p>\u307e\u305f\u3001\u4eca\u56de\u306fExcel\u3092\u4f7f\u3044\u307e\u3057\u305f\u304c\u3001PowerPoint\u3060\u3068\u30b7\u30a7\u30a4\u30d7\u3092\u76f4\u63a5\u4fdd\u5b58\u3067\u304d\u308bExport\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5916\u90e8\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306a\u304f\u51e6\u7406\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093&#x1f914;<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/www.relief.jp\/docs\/powerpoint-vba-shape-save-as-picture.html\" target=\"_blank\" rel=\"external nofollow noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=www.relief.jp\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">www.relief.jp<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fwww.relief.jp%2Fdocs%2Fpowerpoint-vba-shape-save-as-picture.html?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">VBA\u3067\u56f3\u3068\u3057\u3066\u4fdd\u5b58\u3059\u308b:\u30d1\u30ef\u30fc\u30dd\u30a4\u30f3\u30c8\u30de\u30af\u30ed\u30fbPowerPoint VBA\u306e\u4f7f\u3044\u65b9\/\u753b\u50cf<\/div><div class=\"lkc-url\" title=\"https:\/\/www.relief.jp\/docs\/powerpoint-vba-shape-save-as-picture.html\">https:\/\/www.relief.jp\/docs\/powerpoint-vba-shape-save-as-picture.html<\/div><div class=\"lkc-excerpt\">\u56f3\u3068\u3057\u3066\u4fdd\u5b58\u3092\u5b9f\u884c\u3059\u308bPowerPoint VBA\u306e\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<div id=\"single_banner_area2\" class=\"clearfix one_banner\">\n<div class=\"single_banner single_banner_left\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u8a18\u4e8b\u4e2d(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u5e83\u544a\u30e6\u30cb\u30c3\u30c8) -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-7306936664602087\"\r\n     data-ad-slot=\"5429724765\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<div class=\"single_banner single_banner_right\">\n<a href=\"\" target=\"_blank\"><img decoding=\"async\" src=\"\" alt=\"\" title=\"\" \/><\/a>\n<\/div>\n<\/div>\n\n<p>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001Excel\u306e\u30aa\u30fc\u30c8\u30b7\u30a7\u30a4\u30d7\u3092\u4f7f\u3063\u3066Slack\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u4f5c\u6210\u3059\u308b\u30de\u30af\u30ed\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n\u8c4a\u5bcc\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u6587\u5b57\u88c5\u98fe\u52b9\u679c\u3092\u7c21\u5358\u306b\u6d3b\u304b\u305b\u308b\u306e\u304cOffice\u306e\u5f37\u307f\u3067\u3059\u306d\uff01&#x2728;<br \/>\n\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u4f5c\u308a\u306bExcel\u3084PowerPoint\u3092\u4f7f\u3046\u3001\u610f\u5916\u3068\u30a2\u30ea\u3060\u3068\u601d\u3044\u307e\u3059&#x1f601;<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728\u5b85\u52e4\u52d9\u3067\u4f7f\u3046\u30d3\u30b8\u30cd\u30b9\u30c1\u30e3\u30c3\u30c8\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u6ce8\u76ee\u3055\u308c\u3066\u3044\u308b\u300cSlack\u300d\u3001\u79c1\u306e\u4f1a\u793e\u3067\u3082\u5c0e\u5165\u3057\u3066\u3044\u307e\u3059\u3002 Slack\u306b\u306f\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u6a5f\u80fd\u304c\u3042\u308a\u3001\u79c1\u306e\u4f1a\u793e\u3067\u3082\u300c\u7d75\u6587\u5b57\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u300d\u3067\u4f5c\u6210\u3057\u305f\u3001 \u3084 \u3068\u3044\u3063\u305f\u7d75\u6587\u5b57\u3092\u4f7f\u7528\u3057 [&hellip;]","protected":false},"author":1,"featured_media":12670,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"[Slack\u306e\u30ab\u30b9\u30bf\u30e0\u7d75\u6587\u5b57\u3092\u4e00\u62ec\u4f5c\u6210\u3059\u308bVBA\u30de\u30af\u30ed]","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,48],"tags":[],"class_list":["post-12662","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office","category-excel-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/BatchCreateSlackEmoji_07.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-3ie","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12662"}],"version-history":[{"count":4,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12662\/revisions"}],"predecessor-version":[{"id":12673,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12662\/revisions\/12673"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/12670"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}