S
Simon
Hi, is anyone able to help me.
I have a macro that runs from Within a user form.
The user selects several documents (usually 6 to 8) which
contain information in a table of specific format.
Part of this information is pre-marked to go into a new
document. The order is scattered through the several
documents.
My macro opens the documents, and then stores the
information in a 4x100 array. The aray is then sorted.
It then places the information in the new document and
closes the old documents.
I would prefer to only open one document at a time,
extract the information, and then close it before openning
up the next document.
However, when I do this, the information in the array
associated with the documents is lost. Is there any way to
keep the information in the array after the document is
closed?
Thanks in advance
Simon
I have a macro that runs from Within a user form.
The user selects several documents (usually 6 to 8) which
contain information in a table of specific format.
Part of this information is pre-marked to go into a new
document. The order is scattered through the several
documents.
My macro opens the documents, and then stores the
information in a 4x100 array. The aray is then sorted.
It then places the information in the new document and
closes the old documents.
I would prefer to only open one document at a time,
extract the information, and then close it before openning
up the next document.
However, when I do this, the information in the array
associated with the documents is lost. Is there any way to
keep the information in the array after the document is
closed?
Thanks in advance
Simon