Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word.application abilities

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
I need to be able to put a table into a new Word document from the asp. Is this possible?
 
Hmmm

Theoretically it is, but it may need some tinkering.

set oWord=server.createobject("word.application")
oWord.open etc. etc.

The best thing to do is to start recording a macro which draws your table in Word. This will give you all the object code you need, it's just then the transferring it into the asp page. This sort of thing is best tested using something like an immediate window in VB/foxpro to get the code right, then inserting it into the Asp page.

By the end you will be very familiar with the Word document object model (oWord.activedocument.typeparagraph...) Derren
[Mediocre talent - spread really thin]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top