Group:  Microsoft Word ยป microsoft.public.word.tables
Thread: column span detection

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

column span detection
Tony Logan 06.07.2006 18:09:02
I do a lot of extracting PDF data using Acrobat's native text/table select
tool.

When I copy a table in a PDF, then paste it into Word, I then frequently
save the Word doc as HTML. Frequently, when I look at my HTML, I discover
that many of the table columns span 2 or more columns, even though in Word,
the column appears to be just one column.

Is there any way in Word to determine if a column really is a single column,
or if it spans multiple columns?

Thanks.
Re: column span detection
"Klaus Linke" <info[ at ]fotosatz-kaufmann.de> 07.07.2006 13:07:03
Tony Logan wrote:
[Quoted Text]
>I do a lot of extracting PDF data using Acrobat's native text/table select
> tool.
>
> When I copy a table in a PDF, then paste it into Word, I then frequently
> save the Word doc as HTML. Frequently, when I look at my HTML, I discover
> that many of the table columns span 2 or more columns, even though in
> Word,
> the column appears to be just one column.
>
> Is there any way in Word to determine if a column really is a single
> column,
> or if it spans multiple columns?


Hi Tony,

:-(
No, not really. Word handles this differently than HTML, and there isn't an
easy way to get at the colspan (or rowspan), short of saving as HTML.

You can find out whether there are any merged cells easily (If
myTable.Uniform Then ...).

For a work-around regarding the colspan by Jeff Hall (don't know if it'll
help; depends on what you want to do) see:
http://word.mvps.org/FAQs/MacrosVBA/GetRowColSpan.htm

Regards,
Klaus


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net