Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MS Word document built-in Properties
#2
This is my best approximation, It is implied that I am not satisfied :

Macro Macro_1947
Code:
Copy      Help
;http://www.quickmacros.com/forum/viewtopic.php?p=21525"Word.Application")
;app.Visible = TRUE
IDispatch docs=app.Documents
;load file
VARIANT d=_s.expandpath("C:\tmp\hlp.doc")
IDispatch doc=docs.Add(d)
;text
;out doc.Content.Text
str subj=doc.BuiltInDocumentProperties(2) ;; get subject
out subj
app.Quit


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)