Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding CustomDocumentProperties

Status
Not open for further replies.

ranc

Programmer
Oct 29, 2000
9
IL
Hi,

I'm trying to add CustomDocumentProperties to an Excel (or other office document) using VBScript.

Code:
Dim ExcelApp
Dim ExcelDoc

Set ExcelApp= CreateObject("Excel.Application")
Set ExcelDoc= OfficeApp.WorkBooks.Open (-file path-)

Question:
What code should I use to add a new custom property to this file ?


10x,
Ran
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top