Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub UserForm_Activate()
Dim rng As Range Dim iRow As Integer Dim iCol As Integer Set rng = Sheets("Sheet1").UsedRange For iRow = 1 To rng.Rows.Count For iCol = 1 To rng.Columns.Count Spreadsheet1.Cells(iRow, iCol) = rng.Cells(iRow, iCol) Next iCol If rng.Rows(iRow).Hidden = True Then _ Spreadsheet1.Rows(iRow).EntireRow.Hidden = True Next iRow End Sub Hth, Merjet |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why won't advanced filter return filter results? | Excel Worksheet Functions | |||
How do I link filter results into another sheet? | Excel Worksheet Functions | |||
Wanting to write results to array instead of sheet, results overwriting.... | Excel Programming | |||
How do I show the results of filter? | Excel Discussion (Misc queries) | |||
Query Results to UserForm | Excel Programming |