{"categories":["excelvba"],"title":"Range\u306b\u542b\u307e\u308c\u308b\u30bb\u30eb\u3092\u5c55\u958b\u3059\u308b\u306b\u306fCells\u3092\u4f7f\u3046","provider_name":"Hatena Blog","blog_title":"shikaku's blog","description":"Excel\u306e\u30d8\u30eb\u30d7\u306b\u3042\u3063\u305f\u306e\u3067\u8ee2\u8f09 myRange \u3068\u3044\u3046\u540d\u524d\u306e\u5217\u3092\u8abf\u3079\u3066\u3001\u30bb\u30eb\u306e\u5024\u304c 1 \u3064\u4e0a\u306e\u30bb\u30eb\u306e\u5024\u3068\u540c\u3058\u5834\u5408\u306f\u3001\u91cd\u8907\u3059\u308b\u30c7\u30fc\u30bf\u3092\u6301\u3064\u30bb\u30eb\u306e\u53c2\u7167\u3092\u8868\u793a\u3057\u307e\u3059\u3002 Set r = Range(\"myRange\") For n = 1 To r.Rows.Count If r.Cells(n, 1) = r.Cells(n + 1, 1) Then MsgBox \"Duplicate data in \" & r.Cells(n + 1, 1).Address End If Next n","height":"190","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20120406%2Fp7\" title=\"Range\u306b\u542b\u307e\u308c\u308b\u30bb\u30eb\u3092\u5c55\u958b\u3059\u308b\u306b\u306fCells\u3092\u4f7f\u3046 - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/shikaku/","provider_url":"https://hatena.blog","type":"rich","url":"https://blog.systemjp.net/entry/20120406/p7","published":"2012-04-06 00:00:03","blog_url":"https://blog.systemjp.net/","author_name":"shikaku"}