I need to pass a variable to Word from Vb which thn runs a macro.. and this can be done a number of time... please advise...
D
Printable View
I need to pass a variable to Word from Vb which thn runs a macro.. and this can be done a number of time... please advise...
D
I don't know if this will help you but I have been passing information to Excel from a vb app using Dynamic Data Exchange (DDE). Maybe you could use it for Word.
Make reference to Word Object Library, Create Word object in VB and since you have full access to all methods and properties of Word you can work with its documents
Vlad