A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Heading Rows Repeat / Includetext - XML -XSL



 
 
Thread Tools Display Modes
  #1  
Old April 26th, 2006, 02:16 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

I include a large XML table formatted by XSL and it works fine, but now I
want to combine this with "Heading Rows Repeat", and this does not work. The
table looses the supplementary headings everytime F9 is pressed.
  #2  
Old April 27th, 2006, 07:07 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Hi =?Utf-8?B?UGV0ZXIgQmVyZw==?=,

I include a large XML table formatted by XSL and it works fine, but now I
want to combine this with "Heading Rows Repeat", and this does not work. The
table looses the supplementary headings everytime F9 is pressed.

IncludeText is a field. F9 updates the field. All editing and almost all
formatting applied to a field will be lost when a field is updated. you can try
adding the following switch to the IncludeText field code, but no guarantees it
will work for this particular setting:
\* MergeFormat

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

  #3  
Old April 27th, 2006, 09:03 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Thank you Cindy for your answer, but sorry, it can not be the solution. You
see, my work depends in a very high degree upon the MergeFormat. All the
extra formating like bold and text size has been remembered, but not the
heading information. I belive, it is a Word error, but perhaps there is a
work around?

"Cindy M -WordMVP-" wrote:

Hi =?Utf-8?B?UGV0ZXIgQmVyZw==?=,

I include a large XML table formatted by XSL and it works fine, but now I
want to combine this with "Heading Rows Repeat", and this does not work. The
table looses the supplementary headings everytime F9 is pressed.

IncludeText is a field. F9 updates the field. All editing and almost all
formatting applied to a field will be lost when a field is updated. you can try
adding the following switch to the IncludeText field code, but no guarantees it
will work for this particular setting:
\* MergeFormat

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


  #4  
Old April 30th, 2006, 01:28 AM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Peter,

I tried to find a solution to this problem about 2 years ago, and couldn't
find one. You are correct, this is a bug, and Microsoft knows it but won't
fix it. Let me know if you find a work around.

Robert

"Peter Berg" wrote:

Thank you Cindy for your answer, but sorry, it can not be the solution. You
see, my work depends in a very high degree upon the MergeFormat. All the
extra formating like bold and text size has been remembered, but not the
heading information. I belive, it is a Word error, but perhaps there is a
work around?

"Cindy M -WordMVP-" wrote:

Hi =?Utf-8?B?UGV0ZXIgQmVyZw==?=,

I include a large XML table formatted by XSL and it works fine, but now I
want to combine this with "Heading Rows Repeat", and this does not work. The
table looses the supplementary headings everytime F9 is pressed.

IncludeText is a field. F9 updates the field. All editing and almost all
formatting applied to a field will be lost when a field is updated. you can try
adding the following switch to the IncludeText field code, but no guarantees it
will work for this particular setting:
\* MergeFormat

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


  #5  
Old April 30th, 2006, 01:33 AM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Cindy,

There are many linked tables in my document, and it is very time consuming
to locate each one in the document, and reset the "heading rows repeat"
setting. Is there a macro that could do this automatically for all tables in
the document.

Thank you.

Robert

"Cindy M -WordMVP-" wrote:

Hi =?Utf-8?B?UGV0ZXIgQmVyZw==?=,

I include a large XML table formatted by XSL and it works fine, but now I
want to combine this with "Heading Rows Repeat", and this does not work. The
table looses the supplementary headings everytime F9 is pressed.

IncludeText is a field. F9 updates the field. All editing and almost all
formatting applied to a field will be lost when a field is updated. you can try
adding the following switch to the IncludeText field code, but no guarantees it
will work for this particular setting:
\* MergeFormat

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


  #6  
Old May 1st, 2006, 12:51 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Hi Robert,

There are many linked tables in my document, and it is very time consuming
to locate each one in the document, and reset the "heading rows repeat"
setting. Is there a macro that could do this automatically for all tables in
the document.

Yes, this should be possible. Sample code to set the first row of each table to
repeat:

Sub SetHeadingRows()
For each tbl in ActiveDocument.Tables
tbl.Rows(1).HeadingFormat = True
Next
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

  #7  
Old May 1st, 2006, 12:51 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Hi Robert,

I tried to find a solution to this problem about 2 years ago, and couldn't
find one. You are correct, this is a bug, and Microsoft knows it but won't
fix it.

Did Microsoft say it was a bug, or that it's workign "as designed"?
MergeFormat doesn't take everything into account, just certain formatting
aspects. You may or may not agree with the design, but it's only a bug if it's
not working as it was designed :-)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #8  
Old May 1st, 2006, 02:44 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Cindy,

I think they said something to the effect of it being recognized as a
product "limitation", and that they knew it should be fixed, and that they
have had requests for it to be fixed, but that the demand wasn't high enough
to justify adding it to their fix/improvements list.

Robert

"Cindy M -WordMVP-" wrote:

Hi Robert,

I tried to find a solution to this problem about 2 years ago, and couldn't
find one. You are correct, this is a bug, and Microsoft knows it but won't
fix it.

Did Microsoft say it was a bug, or that it's workign "as designed"?
MergeFormat doesn't take everything into account, just certain formatting
aspects. You may or may not agree with the design, but it's only a bug if it's
not working as it was designed :-)

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)


  #9  
Old May 1st, 2006, 02:51 PM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

Thank you.

"Cindy M -WordMVP-" wrote:

Hi Robert,

There are many linked tables in my document, and it is very time consuming
to locate each one in the document, and reset the "heading rows repeat"
setting. Is there a macro that could do this automatically for all tables in
the document.

Yes, this should be possible. Sample code to set the first row of each table to
repeat:

Sub SetHeadingRows()
For each tbl in ActiveDocument.Tables
tbl.Rows(1).HeadingFormat = True
Next
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


  #10  
Old May 2nd, 2006, 11:55 AM posted to microsoft.public.word.tables
external usenet poster
 
Posts: n/a
Default Heading Rows Repeat / Includetext - XML -XSL

I have tryed your suggestion, but receives an error saying: "Cannot access
individual rows in this collection because the table has vertically merged
cells"?

Thanks anyway, Peter


"Cindy M -WordMVP-" wrote:

Hi Robert,

There are many linked tables in my document, and it is very time consuming
to locate each one in the document, and reset the "heading rows repeat"
setting. Is there a macro that could do this automatically for all tables in
the document.

Yes, this should be possible. Sample code to set the first row of each table to
repeat:

Sub SetHeadingRows()
For each tbl in ActiveDocument.Tables
tbl.Rows(1).HeadingFormat = True
Next
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
repeat heading rows in tables gailw Tables 0 March 23rd, 2006 10:04 PM
how to repeat rows at the bottom while using the rows repeat at to Rows to repeat at the bottom Setting up and Configuration 1 August 31st, 2005 02:06 PM
Title Cut Off if Rows to Repeat & Columns to Repeat are Both Selec unibaby General Discussion 2 August 24th, 2005 04:29 PM
Chapter Headings "continued" db Formatting Long Documents 2 November 5th, 2004 10:34 PM
still need help, repeat row as heading not working suzanne Tables 11 May 17th, 2004 08:31 AM


All times are GMT +1. The time now is 08:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.