Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
How do make a table collapsible?
See if the article at http://gregmaxey.mvps.org/Toggle_Data_Display.htm does
what you want. -- Stefan Blom Microsoft Word MVP "DWatkins2008" wrote in message ... I am working with a table and I would like to make it collapsible so that users can view the entire table or the can hide the sub-tasks and just have an outline view. Thank you for your assistance. |
#2
|
|||
|
|||
Quote:
Private Sub ToggleButton1_Click() With ActiveDocument.Tables(6).Rows(4) If .HeightRule = wdRowHeightExactly Then .HeightRule = wdRowHeightAuto ToggleButton1.Caption = "Ignore" .Borders(wdBorderBottom).LineStyle = wdLineStyleSingle .Borders(wdBorderLeft).LineStyle = wdLineStyleSingle .Borders(wdBorderRight).LineStyle = wdLineStyleSingle Else ToggleButton1.Caption = "Include" .HeightRule = wdRowHeightExactly .Height = ".5" .Borders(wdBorderBottom).LineStyle = wdLineStyleNone .Borders(wdBorderLeft).LineStyle = wdLineStyleNone .Borders(wdBorderRight).LineStyle = wdLineStyleNone End If End With lbl_Exit: Exit Sub End Sub Thanks for any assistance |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to create collapsible section or paragraph (Hide/Unhide)? | Page Layout | |||
How do I create collapsible text in Normal Viewing mode in Word? | Microsoft Word Help | |||
How do I create a collapsible list in Word? | Microsoft Word Help | |||
how to make one table from several | Tables | |||
collapsible table or chart? | Tables |