V
voip1234
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.
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.