Hey Thanks Sam It's working..........

*
*
*Regards,*
*Jocky*

On Mon, Nov 14, 2011 at 8:30 PM, Sam Mathai Chacko <samde...@gmail.com>wrote:

> Use this code in Sheet1 VBA code module
>
> Private Sub CommandButton1_Click()
>     ActiveSheet.Range("B4:B32").EntireRow.Hidden = Not
> ActiveSheet.Range("B4:B32").EntireRow.Hidden
>
> End Sub
> Private Sub CommandButton2_Click()
>     ActiveSheet.Range("B35:B50").EntireRow.Hidden = Not
> ActiveSheet.Range("B35:B50").EntireRow.Hidden
>
> End Sub
> Private Sub CommandButton3_Click()
>     ActiveSheet.Range("B53:B69").EntireRow.Hidden = Not
> ActiveSheet.Range("B53:B69").EntireRow.Hidden
>
> End Sub
> Private Sub CommandButton4_Click()
>     ActiveSheet.Range("B72:B88").EntireRow.Hidden = Not
> ActiveSheet.Range("B72:B88").EntireRow.Hidden
>
> End Sub
>
> Regards,
> Sam
>
> On Mon, Nov 14, 2011 at 4:17 PM, jocky Beta <jocky6...@gmail.com> wrote:
>
>>
>> HI Team,
>>
>>    I had created one sheet in which  i made the Groups Now i want to link
>> the Buttons which i created in the sheet (When i click the Button it should
>> expand the group and wen again click the button it needs to be close).
>>
>> Please help me on this
>>
>> *
>> *
>> *Regards,*
>> *Jocky*
>>
>> --
>> 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
>>
>
>
>
> --
> Sam Mathai Chacko
>
>  --
> 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