Dealiah said:
The document that I'm setting up a macro to extract information contains a
custom document property which is listed as "Date completed". I'm trying to
pull that information out and put it and other information into a table
form. I'm afraid I'm way over my head, but my boss wants me to try it. Any
help you can give would be greatly appreciated!
The code to retrieve the property will look something like this:
Dim pDate as date
pDate = Activedocument.CustomDocumentProperties("Date Completed")
ActiveDocument.Tables(1).Cell(1,1) = format(pDate, "yyyy-mm-dd")
But the smart answer is to tell your boss not to be an idiot. If he wants
you to write VBA code he has to pay for the training. The Nike approach just
doesn't work with software.