fieldcodes in textbox formfields

F

Fred Kruger

is there a way of using vba to put a fieldcode into a formfield.

I have a formfield with the bookmark text1 and I want to select this and
give it a fieldcode name of wit1 can it be done without using the
formfield.select and then unprotecting the document and using showfields and
then backwards and forwards to select the field and type in the field name.

Can it be done from selecting the formfield without having to unprotect the
document and use the moveleft , moveright to enter the field.

Thanks in anticipation
 

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