mte01
asked on
table in word (vb.net ) repeat the header
Hi,
i am inserting a table into a word document, using this code:
oTable = doc.Range.Tables.Add(doc.R ange.Bookm arks.Item( "\endofdoc ").Range, 4, 2)
......
i need the first row (the header of the table) to be repeated if we went into a new page..
is that dooable??
thanks
i am inserting a table into a word document, using this code:
oTable = doc.Range.Tables.Add(doc.R
......
i need the first row (the header of the table) to be repeated if we went into a new page..
is that dooable??
thanks
ASKER
>>TheLearnedOne
I'll be waiting for comments from other experts....
I'll be waiting for comments from other experts....
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i think that u where wrong again ;) (hopefully not)
sadly this didnt work with me!
oTable.Rows.HeadingFormat = Word.WdConstants.wdToggle
unless i did something wrong!
thanks bob
sadly this didnt work with me!
oTable.Rows.HeadingFormat = Word.WdConstants.wdToggle
unless i did something wrong!
thanks bob
The Word object model is very confusing, and takes time to get to know all of it's subtle nuances.
The process in Word is to select the table, and check the menu option. So, is the table the current selection?
Bob
The process in Word is to select the table, and check the menu option. So, is the table the current selection?
Bob
ASKER
how do i select it? since i already have a reference to it..
which is the oTable
can u post ur code if it's possible??
thanks
which is the oTable
can u post ur code if it's possible??
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it worked
thanks
thanks
ASKER
>>omegaomega
Can you please help in the following question: http:Q_21843172.html ...thanks in advance!!
Can you please help in the following question: http:Q_21843172.html ...thanks in advance!!
2) The Word topic area is here, if you want to double-check me:
https://www.experts-exchange.com/Applications/MS_Office/Word/
Bob