> Hi
>
[quoted text clipped - 9 lines]
> Thank you,
> Shmuel Shulman
Hi Shmuel,
Apply the HeadingFormat setting to one specific row at a time, not to the
entire Rows collection.
obTable.Rows(1).HeadingFormat = True
and if you want two rows to repeat, also include
obTable.Rows(2).HeadingFormat = True
The recorded code is a bad example. What I get is
Selection.Rows.HeadingFormat = wdToggle
which applies the HeadingFormat to whatever rows happen to be selected at
the time. Since you've removed the Selection reference and replaced it with
obTable, the reference is to all the rows in the table.

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
S Shulman - 26 Sep 2005 19:46 GMT
Thanks for you response,
I tried that but still doesn't work
Shmuel
>> Hi
>>
[quoted text clipped - 29 lines]
> with
> obTable, the reference is to all the rows in the table.
Jay Freedman - 26 Sep 2005 20:06 GMT
Could you please post the complete code?

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
> Thanks for you response,
>
[quoted text clipped - 40 lines]
>> Jay Freedman
>> Microsoft Word MVP FAQ: http://word.mvps.org
S Shulman - 27 Sep 2005 13:43 GMT
I was prparing the code to send you and it is working looking into it...
Thank you,
Shmuel
> Could you please post the complete code?
>
[quoted text clipped - 42 lines]
>>> Jay Freedman
>>> Microsoft Word MVP FAQ: http://word.mvps.org