Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-23-2012, 10:24 PM
gsrikanth gsrikanth is offline how to view hidden rows Windows XP how to view hidden rows Office XP
Competent Performer
how to view hidden rows
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default how to view hidden rows


i want to view the particular hidden row,
when filter then also it was hidden

that time also i want to see

i.e., a6
Reply With Quote
  #2  
Old 01-23-2012, 10:52 PM
JBeaucaire JBeaucaire is offline how to view hidden rows Windows XP how to view hidden rows Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

If row 6 is hidden by an AutoFilter you will have to turn off the AutoFilter to see that row again.
Reply With Quote
  #3  
Old 01-23-2012, 11:12 PM
gsrikanth gsrikanth is offline how to view hidden rows Windows XP how to view hidden rows Office XP
Competent Performer
how to view hidden rows
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by JBeaucaire View Post
If row 6 is hidden by an AutoFilter you will have to turn off the AutoFilter to see that row again.
i want see row 6, 10, 13, 15, 17 soon up to 3000

that should be seen others should hidden
Reply With Quote
  #4  
Old 01-24-2012, 03:20 AM
gsrikanth gsrikanth is offline how to view hidden rows Windows XP how to view hidden rows Office XP
Competent Performer
how to view hidden rows
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by gsrikanth View Post
i want see row 6, 10, 13, 15, 17 soon up to 3000

that should be seen others should hidden
given rows only shown other hide
input 2,4,6
any mirco to given rows to see
Reply With Quote
  #5  
Old 01-24-2012, 04:21 AM
gsrikanth gsrikanth is offline how to view hidden rows Windows XP how to view hidden rows Office XP
Competent Performer
how to view hidden rows
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by gsrikanth View Post
given rows only shown other hide
input 2,4,6
any mirco to given rows to see
Worksheets("Sheet1").Rows(25).PageBreak = xlPageBreakNone
this may be usefull
Reply With Quote
  #6  
Old 01-24-2012, 06:43 AM
JBeaucaire JBeaucaire is offline how to view hidden rows Windows XP how to view hidden rows Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

If any rows are hidden with an AutoFilter, this won't work. Otherwise, this will hide all rows on the activesheet except the ones that match your input value:

Code:
Sub ShowOnlyCertainRows() 
Dim RowNum As Long, LR As Long, Rw As Long  
RowNum = Application.InputBox("Show rows that are multiple of what number?", "Multiples of...", 3, Type:=1) 
If RowNum = 0 Then Exit Sub  

Application.ScreenUpdating = False 
With ActiveSheet  
   .UsedRange.Rows.Hidden = False       'unhides all rows, doesn't work on AutoFilter
    LR = .Range("A" & .Rows.Count).End(xlUp).Row  
    For Rw = 1 To LR 
        If .Range("A" & Rw).Row Mod RowNum <> 0 Then .Rows(Rw).Hidden = True 
    Next Rw 
End With 

Application.ScreenUpdating = True  
End Sub

Also posted: http://www.mrexcel.com/forum/showthread.php?t=607766
Reply With Quote
  #7  
Old 01-24-2012, 04:43 PM
kabir5800 kabir5800 is offline how to view hidden rows Windows XP how to view hidden rows Office 2003
Novice
 
Join Date: Jan 2012
Posts: 1
kabir5800 is on a distinguished road
Default

Thanks for this nice information
Reply With Quote
  #8  
Old 01-24-2012, 10:13 PM
gsrikanth gsrikanth is offline how to view hidden rows Windows XP how to view hidden rows Office XP
Competent Performer
how to view hidden rows
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by JBeaucaire View Post
If any rows are hidden with an AutoFilter, this won't work. Otherwise, this will hide all rows on the activesheet except the ones that match your input value:

Code:
Sub ShowOnlyCertainRows() 
Dim RowNum As Long, LR As Long, Rw As Long  
RowNum = Application.InputBox("Show rows that are multiple of what number?", "Multiples of...", 3, Type:=1) 
If RowNum = 0 Then Exit Sub  

Application.ScreenUpdating = False 
With ActiveSheet  
   .UsedRange.Rows.Hidden = False       'unhides all rows, doesn't work on AutoFilter
    LR = .Range("A" & .Rows.Count).End(xlUp).Row  
    For Rw = 1 To LR 
        If .Range("A" & Rw).Row Mod RowNum <> 0 Then .Rows(Rw).Hidden = True 
    Next Rw 
End With 

Application.ScreenUpdating = True  
End Sub
Also posted: http://www.mrexcel.com/forum/showthread.php?t=607766
if i want to give information like i want view 2-10, are 2, 10, 11 etc., three inputs at a time
Reply With Quote
  #9  
Old 01-25-2012, 01:57 AM
JBeaucaire JBeaucaire is offline how to view hidden rows Windows XP how to view hidden rows Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

No idea what you really mean.
Reply With Quote
  #10  
Old 01-25-2012, 03:37 AM
gsrikanth gsrikanth is offline how to view hidden rows Windows XP how to view hidden rows Office XP
Competent Performer
how to view hidden rows
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by JBeaucaire View Post
No idea what you really mean.
list i have should be seen, others should hide

i have all whole list
like i give in input like 1,10,11,100,101,102,150,149

differentiate with comma

other then above number other should hidden
Reply With Quote
  #11  
Old 01-27-2012, 05:29 AM
JBeaucaire JBeaucaire is offline how to view hidden rows Windows XP how to view hidden rows Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

This version will hide all rows, then unhide the ones you have entered in popup box:

Code:
Option Explicit

Sub ShowOnlyCertainRows()
Dim RowNums As Variant, LR As Long, Rw As Long

RowNums = Application.InputBox("Show which rows?", "Show", "1,10,11,100,101,102,150", Type:=2)
If RowNums = "False" Then Exit Sub

Application.ScreenUpdating = False
With ActiveSheet
    .UsedRange.Rows.Hidden = True       'hides all rows, doesn't work on AutoFilter
    RowNums = Split(RowNums, ",")
    
    For Rw = LBound(RowNums) To UBound(RowNums)
        .Rows(RowNums(Rw)).Hidden = False
    Next Rw
End With

Application.ScreenUpdating = True
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to view hidden rows hidden rows gsrikanth Excel 5 01-19-2012 02:40 PM
how to view hidden rows merging rows and creating sub-rows gib65 Excel 2 12-09-2011 02:09 PM
how to view hidden rows Hidden tables? dluhop Word Tables 1 09-04-2011 02:41 AM
how to view hidden rows Hidden style applied over already-hidden text. christie Word 1 08-17-2011 09:10 AM
Hidden address nicolapiva Outlook 2 11-16-2010 12:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft