{"image_url":null,"provider_url":"https://hatena.blog","author_name":"hiko-blog","author_url":"https://blog.hatena.ne.jp/hiko-blog/","categories":["VBA"],"url":"https://hiko-blog.hatenadiary.com/entry/2024/07/13/111652","height":"190","blog_title":"Hiko.Blog  Excel VBA\u6d3b\u7528\u8853","version":"1.0","title":"KEY\u3092\u4f5c\u3063\u3066\u6700\u65b0\u306e\u3082\u306e\u62bd\u51fa","width":"100%","type":"rich","blog_url":"https://hiko-blog.hatenadiary.com/","description":"Sub KEY\u3092\u4f5c\u3063\u3066\u6700\u65b0\u306e\u3082\u306e\u62bd\u51fa() Dim ws1 As Worksheet, ws2 As Worksheet Dim lastRow As Long, i As Long, j As Long Dim dict As Object Dim dictKey As Variant ' \u30c7\u30a3\u30af\u30b7\u30e7\u30ca\u30ea\u306e\u30ad\u30fc\u3092\u683c\u7d0d\u3059\u308b\u5909\u6570 ' \u30b7\u30fc\u30c81\u3068\u30b7\u30fc\u30c82\u3092\u8a2d\u5b9a Set ws1 = ThisWorkbook.Sheets(\"Sheet1\") Set ws2 = ThisWorkbook.Sheets(\"Sheet2\") ' \u30b7\u30fc\u30c82\u3092\u521d\u671f\u5316 ws2.Cells.Clear ' \u30b7\u30fc\u30c81\u306e\u6700\u7d42\u884c\u3092\u53d6\u5f97 \u2026","provider_name":"Hatena Blog","published":"2024-07-13 11:16:52","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiko-blog.hatenadiary.com%2Fentry%2F2024%2F07%2F13%2F111652\" title=\"KEY\u3092\u4f5c\u3063\u3066\u6700\u65b0\u306e\u3082\u306e\u62bd\u51fa - Hiko.Blog  Excel VBA\u6d3b\u7528\u8853\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}