View Single Post
  #3   Report Post  
Dave H Dave H is offline
Member
 
Posts: 54
Default

This works great. Thanks
Quote:
Originally Posted by Bob Phillips
'-----------------------------------------------------------------
Function DocProps(prop As String)
'-----------------------------------------------------------------
Application.Volatile
On Error GoTo err_value
DocProps = ActiveWorkbook.BuiltinDocumentProperties _
(prop)
Exit Function
err_value:
DocProps = CVErr(xlErrValue)
End Function


and enter in a cell such as
=DocProps ("last author")

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

--
Dave H[/color]