我需要在VB6程序中对WORD文档设置属性我在 VBA 中可以很容易的使用如下代码实现:
ActiveDocument.CustomDocumentPropertie.add Name:="MyDate", LinkToContent:=False, Value:=CDate("17-01-2005" ), Type:=msoPropertyTypeDate' 但是在 VB6 中使用出错: Invalid procedure call or argument.请指教!