Hi All,
I'm using Crystal Reports to write a report to Word and I want to format the Word document to have two columns.
Here's the VB macro for doing this:
With ActiveDocument.PageSetup.TextColumns
.SetCount NumColumns:=2
End With
I've tried numerous variations to translate to VFP 6 with no luck and I can't seem to find the correct reference in the M.S. Automation w/VFP book.
Any help, ideas would be appreciated.
oword = createobject("word.application")
oword.visible = .t.
oword.documents.open(lc_word)
oword.activedocument.pagesetup.textcolumns.setcount = 2 && error message
TIA,
Jim Harvey