Thanks Sir,
Its working, but it also hide its heading, is there any solution for not to
hide Column heading. (First three rows are heading)
Regards

On Fri, Dec 2, 2011 at 8:13 PM, dguillett1 <dguille...@gmail.com> wrote:

>   Option Explicit
> Sub ShowNegativesInColumnsI_L_SAS()
> Dim i As Long
> Application.ScreenUpdating = False
> On Error Resume Next
> For i = Cells(Rows.Count, "b").End(xlUp).Row - 1 To 1 Step -1
>   If Cells(i, "I") >= 0 Or Cells(i, "L") >= 0 Then _
>      Rows(i).Hidden = True
> Next
> Application.ScreenUpdating = True
> End Sub
>
> Sub UnhideRows()
> Rows.Hidden = False
> End Sub
> ‘============
> Don Guillett
> SalesAid Software
> dguille...@gmail.com
>
>  *From:* AbdulGani Shaikh <itpabdulg...@gmail.com>
> *Sent:* Thursday, December 01, 2011 9:45 PM
> *To:* excel-macros@googlegroups.com
> *Subject:* $$Excel-Macros$$ Re: Want to hide entire row
>
>  Pl.help
>
> On Thu, Dec 1, 2011 at 4:41 PM, Abdulgani Shaikh <
> abdulgani.sha...@sarda.co.in> wrote:
>
>> I want to hide entire row if value in column "*I*" & column "*L*" is
>> greater than or equal to "*0*".
>> In other words if value in column i & l is less than zero then only such
>> row to be shown otherwise hidden.
>>
>> Pl help
>>
>> Regards
>>
>>
> --
> FORUM RULES (934+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>
> --
> FORUM RULES (934+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>

-- 
FORUM RULES (934+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to