Dave,
Your code is password protected, so I'm not able to review it. Even
so, I tried implementing what you are doing on my own machine without
success. I can neither read nor modify a DocumentProperties object. I
can modify other visual basic objects, but not the documentProperties.
My recommendation is that we try to implement a work around. The
easiest work around is to use an excel macro to get the workbook's
Document Properties and import them into LabVIEW. The macro code is
already provided in the Visual Basic help file for
builtInDocumentProperties:

rw = 1
Worksheets(1).Activate
For Each p In ActiveWorkbook.BuiltinDocumentProperties
    Cells(rw, 1).Value = p.Name
    rw = rw + 1
Next

If you are unfamiliar with how to call an excel macro from LabVIEW,
there is an example program that can guide you. You can find the
program on our website at this url:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9D856A4E034080020E74861&p_node=DZ53003

Please let me know if this doesn't help. Thanks and good luck!

Marcus G.
National Instruments

Reply via email to