I want to be able to open one word document which has a userform set to show on open.
This userform enables the user to browse for the filename of a document. A command button confirms their choice and runs the next part of the code. (I can write the code up to here)
I am having problems with the next bit.
When the command button is clicked I want the macro to search the selected document (not the one open) for a bookmark of a specific name copy this bookmark and paste it in the open document under a specified heading.
Firstly is this possible? Secondly any pointers in the direction to head with the code.
Cheers Dusty
This userform enables the user to browse for the filename of a document. A command button confirms their choice and runs the next part of the code. (I can write the code up to here)
I am having problems with the next bit.
When the command button is clicked I want the macro to search the selected document (not the one open) for a bookmark of a specific name copy this bookmark and paste it in the open document under a specified heading.
Firstly is this possible? Secondly any pointers in the direction to head with the code.
Cheers Dusty