Reply
 
Thread Tools Display Modes
  #1   Report Post  
packer_fan
 
Posts: n/a
Default Repeat header row programmatically

I will be opening a word document from my website and creating the contents
of word dynamically. How do I set the table properties of a Header Row to
span pages and each row not to break across pages? I know how to do this
once I have word open but I need to set these properties from my web page!
Please help. Thanks
  #2   Report Post  
Jay Freedman
 
Posts: n/a
Default

On Mon, 22 Aug 2005 07:02:13 -0700, "packer_fan"
wrote:

I will be opening a word document from my website and creating the contents
of word dynamically. How do I set the table properties of a Header Row to
span pages and each row not to break across pages? I know how to do this
once I have word open but I need to set these properties from my web page!
Please help. Thanks


Assuming you assign the return value of the .Tables.Add function to a
Table object named oTbl, you make the first row a header row by
executing

oTbl.Rows(1).HeadingFormat = True

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
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
Word 2003 tables-will not repeat header row Lora R. Tables 6 May 17th 05 09:21 PM
Word 2003 Table Header Row won't repeat. LindaB Tables 1 March 14th 05 02:39 PM
Word tables should permit header rows to repeat only on every oth. vepxistqaosani Tables 4 February 24th 05 05:53 AM
Repeat Table Header does not work Timboo Microsoft Word Help 3 January 14th 05 05:12 PM
Word 2003 Table Header Row won't repeat. Linda B Tables 1 November 29th 04 01:28 PM


All times are GMT +1. The time now is 12:36 AM.

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

About Us

"It's about Microsoft Word"