Thread: [Solved] creating a report table
View Single Post
 
Old 05-02-2012, 05:38 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi kannan,

It is still not clear what the script that does the comparison that produces the true/false result has to do with the report, except that either true/false or something based on it has to go somewhere. If you're trying to filter the data that the table is based on, this could be done in Excel. The filtered table could then be linked to your document via OLE or you could use a directory/catalogue mailmerge to populate the table. Either process can vary the number of rows. Mailmerge can do it with or without a table (ie using tabs to define the various columns).

You also mention inserting "multiple data at required places in word recursively". I'm not sure what recursion has to do with it, but you can easily enough add rows to a table or update a bookmarked range via vba.

None of this is especially complicated - it's just a matter of determining which of the tools at your disposal is/are best suited to the job.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote