I have recorded a macro that inserts a text file into a document and then
formats the imported text.
My problem is that when the macro is run it always inserts the original file
that was selected in the File/Insert/selection dialogue.
Is there a way to have th emacro pause while the user selects the text file
to insert then continue to format the text.
I tried clicking on PAUSE macro when the file selection dialogue box is open
but the Macro Pause button is not active because the windows file selection
box is active
Jay Freedman - 24 Nov 2006 22:58 GMT
See the section "Making a macro more general" in
http://word.mvps.org/FAQs/MacrosVBA/ModifyRecordedMacro.htm.
--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
>I have recorded a macro that inserts a text file into a document and then
>formats the imported text.
[quoted text clipped - 5 lines]
>but the Macro Pause button is not active because the windows file selection
>box is active