Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

word 2003 add delete buttons in custom properties fields dialog box disabled...why?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
voip1234@mytrashmail.com - 08 Jan 2005 08:57 GMT
1) I am following some tutorials on VBA specifically to learn the
DocVariable fields. It says I should go to the File/Properties/Custom
dialog box and add the field there first. I go there and can type the
name of the field, select the type and even type a value, but the ADD
DELETE buttons are always grayed out. They stay gray even after
populating the boxes. I tried a blank document, an old document,
etc....same thing...tried closing opening word again...same thing.
I am using Word 2003.

2) the reason I am looking into DocVariable is that I want to
programmatically insert different Autotext into the headers (different
one for each odd portrait, even portrait, odd landscape, even
landscape). I am now able to differentiate portrait/landscape sections,
insert different even odd autotext headers...I can now even get the
info I need from the user using an inputbox, but now I have to place
the info I get from the input box into a variable field in the autotext
entries. From what I read, DocVariable is the way to go....am I right?
Any other suggestions?

thanks.
voip1234@mytrashmail.com - 08 Jan 2005 09:03 GMT
I forgot to ask if DocProperties is the way to go, or if there is a
better way...can you please post some sample code starting from the
inputbox?
i.e. starting with this....

myField = InputBox("user, please insert some text?")

what would follow to get that info into pretty much every header in my
document using some sort of field in a heavily formatted autotext
entry.

thanks again.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.