How to connect Visual Basic to MS Word through API?
You'd probably be better off not using APIs for this. Just set a reference to the MS Word object library and do this: VB Code: Dim objWord as Word.Application Set objWord = New Word.Application That's easier...
Dim objWord as Word.Application Set objWord = New Word.Application
Indecisiveness is the key to flexibility. www.mangojacks.com
yes, you will find it much easier with just the reference and not the api
dev
Forum Rules