how many custom properties has a document?

M

Medes

Hi,

I want to check how many CustomProperties has a word or Excel document.

how can i do it?
 
A

Andy Pope

Hi,

Excel:
?activeworkbook.CustomDocumentProperties.count

Word:
?activedocument.CustomDocumentProperties.count

Cheers
Andy
 
M

Medes

Thanks Andy,

but there is no count on activeWorkbook.CustomDocumentProperties. .....


"Andy Pope" skrev:
 
A

Andy Pope

It works for me, have you tried it?

The help says CustomDocumentProperties Returns or sets a
DocumentProperties collection that represents all the custom document
properties for the specified workbook.

And the DocumentProperties Collection has the following properties;
Application Property
Count Property
Creator Property
Item Property
Parent Property

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top