Document Properties GUI 
Author Message
 Document Properties GUI

Hello-
I have an Access DB that creates form letters in Word
using the document properties.  Is there a way for my user
to be able to customize the Word docs by inserting new doc
props without going through the usual bazillion steps.  I
guess what I need is a kind of friendly UI listing the
available properties for my user to choose from, then
letting them click an Insert button to add it to their
letter.  Is this possible?

If anyone could just get me started it'd be greatly
appreciated.  I don't really know where to begin.

Thanks!
-Nate



Tue, 03 May 2005 00:54:36 GMT  
 Document Properties GUI
Hi, Nate,

You want a UserForm (custom dialog box). For a short tutorial, see
http://www.mvps.org/word/FAQs/Userforms/CreateAUserForm.htm.

For your purposes, instead of pasting the contents of textboxes from the
userform into bookmarks in the document, you need to assign the values to items
that you add to the ActiveDocument.CustomDocumentProperties. Look up that term
in the VBA help.

--
Regards,
Jay Freedman
Microsoft Word MVP        Word MVP FAQ site: http://www.mvps.org/word

Quote:

> Hello-
> I have an Access DB that creates form letters in Word
> using the document properties.  Is there a way for my user
> to be able to customize the Word docs by inserting new doc
> props without going through the usual bazillion steps.  I
> guess what I need is a kind of friendly UI listing the
> available properties for my user to choose from, then
> letting them click an Insert button to add it to their
> letter.  Is this possible?

> If anyone could just get me started it'd be greatly
> appreciated.  I don't really know where to begin.

> Thanks!
> -Nate



Thu, 05 May 2005 04:35:10 GMT  
 Document Properties GUI
Thank you Jay-
That'll get me started!

Quote:
>-----Original Message-----
>Hi, Nate,

>You want a UserForm (custom dialog box). For a short
tutorial, see
>http://www.mvps.org/word/FAQs/Userforms/CreateAUserForm.ht
m.

>For your purposes, instead of pasting the contents of
textboxes from the
>userform into bookmarks in the document, you need to

assign the values to items
Quote:
>that you add to the

ActiveDocument.CustomDocumentProperties. Look up that term
Quote:
>in the VBA help.

>--
>Regards,
>Jay Freedman
>Microsoft Word MVP        Word MVP FAQ site:

http://www.mvps.org/word
Quote:


>> Hello-
>> I have an Access DB that creates form letters in Word
>> using the document properties.  Is there a way for my
user
>> to be able to customize the Word docs by inserting new
doc
>> props without going through the usual bazillion steps.  
I
>> guess what I need is a kind of friendly UI listing the
>> available properties for my user to choose from, then
>> letting them click an Insert button to add it to their
>> letter.  Is this possible?

>> If anyone could just get me started it'd be greatly
>> appreciated.  I don't really know where to begin.

>> Thanks!
>> -Nate

>.



Wed, 11 May 2005 08:45:46 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. populating document properties from text in document

2. Using the MDI Child property on GUI's gen'd by an ActiveX DLL

3. Active Dir property sheet extension (GUI)

4. Accessing Office Custom Document Properties from Closed Documents/Workbooks

5. Custom DB properties and Document Properties (A97)

6. Migrating from a standard VB app (GUI) to WEB (GUI)

7. Chaning a Word document's property

8. accessing word document properties

9. Get properties from a word document??

10. Get document Properties with code

11. Get properties from Excel & Powerpoint documents

12. Need custom document properties from MDB in R/O directory using DAO

 

 
Powered by phpBB® Forum Software