G'day "Carim" <carimfam@yahoo.com>,
best method is to always include table caption before the table and
read that. Failing that, bookmarks work ok. Eg, bookmarked with a
prefix of GL means General Ledger results.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Carim reckoned:
>Hi,
>
[quoted text clipped - 7 lines]
>Cheers
>Carim
Carim - 29 Mar 2006 07:32 GMT
Hi Steve,
Thanks for your input.
So far, my code loops through all the tables, extracts all cells and
copies nicely to Excel ...but I need to refine it with table
identifiers ...
Is there a simple way to programmatically create 4 types of table
captions or 4 types of bookmarks for something like 500 tables ?
Thanks for your help
Carim
Word Heretic - 31 Mar 2006 07:40 GMT
G'day "Carim" <carimfam@yahoo.com>,
Sorta
Dim NextVictim as Table
Dim Serialiser as Long
for each Nextvictim in activedocument.tables
that gets you looping through all tables
if nextvictim.someproperty = identifableResult then
add my caption,append the serialiser
else
add another caption, append the serialiser
end if
serialiser = serialiser +1
next
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
Carim reckoned:
>Hi Steve,
>
[quoted text clipped - 6 lines]
>Thanks for your help
>Carim
Carim - 31 Mar 2006 08:09 GMT
Hi Steve,
Thanks a lot ...
Followed your recommendation ... and fixed my problem ...
Thanks again
Cheers
Carim