Using a form to fill in field code text
Check out the InputBox()
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"Marc" wrote in message
...
This is pretty basic vb but it has been a long time since I've used VBA at
all so please help.
I have recorded a macro for entering a field code similar to:
{ opendoc!x }
Now I want to have a user form that prompts for the doc that needs to be
opened.
What code would I use to pass what they enter to the field code macro?
Any help whatsoever would be appreciated. I've spent the last 4 hours
digging around the web and forums for a clue.
|