Dim ws1 As Worksheet, ws2 As Worksheet Dim lastRow As Long, lastCol As Long Dim dataRange As Range Dim cell As Range Dim dict As Object 'Dictionaryオブジェクト Dim outputRow As Long
'ワークシートの設定 Set ws1 = ThisWorkbook.Sheets("Sheet3") '抽出元シート Set ws2 = ThisWorkbook.Sheets("Sheet4") '抽出先シート
'Dictionaryオブジェクトの生成 Set dict = CreateObject("Scripting.Dictionary")