E
Ed
I'd like to use a command button in an Excel document to open a Word
document which has a macro that runss when the document opens. Can I, as
part of the code behind the Excel button, dim cell values as strings that
can be used by the Word macro? For example, the user enters a text value in
an Excel cell; when the button is clicked, the Excel code dims that value as
a string, launches Word and opens a document, and the macro in the document
picks up that string as a "search for this" parameter.
Ed
document which has a macro that runss when the document opens. Can I, as
part of the code behind the Excel button, dim cell values as strings that
can be used by the Word macro? For example, the user enters a text value in
an Excel cell; when the button is clicked, the Excel code dims that value as
a string, launches Word and opens a document, and the macro in the document
picks up that string as a "search for this" parameter.
Ed