Writing to word

  • Thread starter Thread starter Pritesh_karma
  • Start date Start date
P

Pritesh_karma

I have a word template file.
I need to know how to write to a specific cell in a table in the word
document.
The document has a few tables...
How do i write to a specific cell. Is there a place where i can name
the table?

With wordApp
Set wordDoc = .Documents.Open("C:\fsc\template.doc")
wordDoc.Tables(1).Cell(3, 1) = "hello"
End With

Thats the code i have now. dosnt seem to be working.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top