0
我有错误type mismatch
VBA的Excel搜索从范围和隐藏行值
我在这里做矩阵,如果行包含"x"
则代码应该保持连续可见。应该隐藏没有"x"
的行。从按钮触发变量hideEmptyRows
。
If (hideEmptyRows = True) Then
For i = 8 To lastRow
If Range(Cells(i, 3), Cells(i, lastColumn)).value = "x" Then
cell.EntireRow.Hidden = True
End If
Next i
End Ifenter code here
谢谢伙计!随着你的提示,我继续工作。 – AratioD
不客气:) –