タイトル : Re^6: MSFGridについて 投稿日 : 2008/04/22(Tue) 17:39 投稿者 : 480
ぶぶさん、レス有難うございます。 If "*" = LCase(Ext) Or LCase(extFile) = LCase(Ext) Then With searchResult .TextMatrix(iCount, 0) = iCount 'No .TextMatrix(iCount, 1) = dirFile.Name 'ファイル名 .TextMatrix(iCount, 2) = myFolder 'パス名 iCount = iCount + 1 .Rows = iCount + .Rows 'Rows .ColWidth(2) = 5000 'Cols End With End If 上記で検索結果表示数をiCountとして、表示される分Rowsを増加させているのですが、同時に空白のセルが余計に検索結果表示数の倍近く表示されてしまいます。 原因がなかなか掴めず、躓いています。 |