Setting Property thru VBA programing

K

K. Rajasekar

Hi
Could you please help me in doing the following thru VBA programming / word macr

In Windows explorer, if you right click any word document, the property window appears, of which 'Summary' tab has a field called 'Comments'.

I would like to enter some text in that field using VBA programing / macro. It is helpful if the corresponding code is provided

Cheers
K. Rajaseka
 
J

Jonathan West

Hi K Rajasekar

The following article will help.

Although the code associated with the article just reads document
properties, the same DLL can be used to write properties as well.

The sample VB application that you can obtain from the Microsoft link on the
article includes the ability to both read & write properties.


--
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup


K. Rajasekar said:
Hi,
Could you please help me in doing the following thru VBA programming / word macro

In Windows explorer, if you right click any word document, the property
window appears, of which 'Summary' tab has a field called 'Comments'.
I would like to enter some text in that field using VBA programing /
macro. It is helpful if the corresponding code is provided.
 
K

K. Rajasekar

Hi Jonathan,

Thanks for the info. Please provide the corresponding link(URL) as well which is missing in your reply.

Thanks,
K. Rajasekar
 
D

Doug Robbins - Word MVP - DELETE UPPERCASE CHARACT

I believe that this is the article to which Jonathon was referring:

“Getting access to the Document Properties of a Word file” at:

http://word.mvps.org/FAQs/MacrosVBA/DSOFile.htm


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP
 

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