Answer the question
In order to leave comments, you need to log in
How to attach not to a column by number, but by “value” in Excel?
I made a couple of scripts for the convenience of using the document, but I'm not the only one working in the document, and often there is an orgy there: columns are moved, added, etc.
I contact by:
Sub Hide()
Dim cell As Range
Application.ScreenUpdating = False
For Each cell In ActiveSheet.UsedRange.Columns(5).Cells
If cell.Value = "нет" Then cell.EntireRow.Hidden = True
Next
Application.ScreenUpdating = True
End Sub
Columns(5)Sheets("Лист 1").Cells(1 + Offset1, 1 + Offset2).Value = Sheets("Лист 2").Cells(i, 18)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question