Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SaveAs2 in Word
#1
Hi,

I am trying to save a MS Word document as the old 97-2003 format.
I am getting the error:
expected VARIANT*
tip: use operator & to get address of variable, or operator + to cast type.
Can you tell me what I am missing?
Thanks
Code:
Copy      Help
typelib Word {00020905-0000-0000-C000-000000000046} 8.5
Word.Application w._getactive
str fileName1="Test file 02.doc"
w.ActiveDocument.SaveAs2(fileName1 0 @ @ @ @ @ @ @)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)