Reply
 
Thread Tools Display Modes
  #1   Report Post  
RobinC
 
Posts: n/a
Default How do I hide rows or cells in a table?

I want to hide rows (or cells) in a table. Is this possible?
I'm using Word 2003
  #2   Report Post  
Greg
 
Posts: n/a
Default

Format the entire row as hidden text and don't display hidden text in
ToolsOptionsView

Sub Test()
Selection.Tables(1).Rows(?).Range.Font.Hidden = True
End Sub

Replace "?" in the code above with the row number you want to hide.

  #3   Report Post  
Stefan Blom
 
Posts: n/a
Default

Or from the user interface: Select the row [or select the cell(s)]. On
the Format menu, click Font. Click the Font tab. Click "Hidden" to
select it, and then click OK.

--
Stefan Blom
Microsoft Word MVP


"Greg" wrote in message
oups.com...
Format the entire row as hidden text and don't display hidden text

in
ToolsOptionsView

Sub Test()
Selection.Tables(1).Rows(?).Range.Font.Hidden = True
End Sub

Replace "?" in the code above with the row number you want to hide.




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table AutoFormats vs. Table Styles confusion Tony Jollans Tables 5 March 6th 05 07:18 PM
Excel Link: Adding rows in Excel does not add cells in Word Jameslp Tables 2 December 9th 04 07:18 PM
Remove Rows from a Table after merging Kevin L Mailmerge 1 December 9th 04 11:13 AM
using vba to hide rows in a table Jan Tables 2 December 6th 04 12:40 PM
Text space in table cells in Word 2003 (using Windows XP) Jaykay Tables 1 December 2nd 04 11:16 AM


All times are GMT +1. The time now is 03:51 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"