Hi NG!
Im trying to automate Word from Access and it works Ok, except for this
line:
wdApp.Selection.ParagraphFormat.Alignment = wdAlignParagraphRight
Apparently Access VBA will not recognize wdAlignParagraphRight as a word
constant, and think of it as a Variable.
I have set a reference to the Word 10.0 Object library.
If I declare it as a Variable in Access, it expects it to have a value. Do
you know how i can do this?
All I really want to do is to right aling one paragraph, then reset to left
alignment.
Regards
Jan