By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,808 Members | 1,481 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,808 IT Pros & Developers. It's quick & easy.

link tables to print in MsWord

P: 4
Newbie here, could you please help me link one of my tables to print in MsWord. from vb6

Dim obj_Word As Word.Application
Dim obj_WordDoc As Word.Document
Dim i_Loop As Integer
On Error GoTo err_Handler
Set obj_Word = CreateObject("Word.Application")
Set obj_WordDoc = obj_Word.Documents.Add
obj_Word.Visible = True
obj_WordDoc.SaveAs str_FilePath
Set obj_WordDoc = Nothing
Set obj_Word = Nothing
CreateReport = True

I don't know where to place the code and how the code like.

May 12 '08 #1
Share this Question
Share on Google+
2 Replies

P: 4
Please help me on this matter..Thanks
May 13 '08 #2

P: 4
anybody out there who can help...please..badly needed
May 15 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.