hiding of rows..

singhania_raju

Board Regular
Joined
Nov 3, 2002
Messages
59
hello ,
Please help me out in this problem..
Is it possible to hide rows in excel by using excel formula. I don't want to use macros.

for example...
if the value in cell A1 > 15 then i want to hide few rows...

thanks and regards,
rajesh
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
I'm afraid you would have to use macros to do what you're talking about in your example.

Is there a particular reason you don't want to use macros?
 
Upvote 0
I just wanted to know whether it's possible or not.

I have wriiten following code for hiding the rows, can anybody tell me on which event i should call this routine so that the performance of the excel sheet is good.

If (Range("D22").Value <= 15) Then

Dim xxHeader
Set xxHeader = Worksheets("Solubilized AHF Paste").Range("A25:IV29")

For i = 1 To xxHeader.Rows.Count

xxHeader.Rows(i).Hidden = True

Next i


Else
Dim xx1Header
Set xx1Header = Worksheets("Solubilized AHF Paste").Range("A25:IV29")
For i = 1 To xx1Header.Rows.Count
xx1Header.Rows(i).Hidden = False
Next i
End If
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top