vb.net - How to read data from fields in MS Word? -
using vb.net , word 2010
dim oword msword.application dim odoc msword.document odoc = oword.documents.add(textbox1.text) msgbox(oword.activedocument.fields(1)) opening document not problem. reading value of field causing errors, argument 'prompt' cannot converted type 'string'. i've tried naming field in quotes, doesn't work either. i've tried variable.field(1) - gets me error
help appreciated!
Comments
Post a Comment