I have two workbooks open in a single instance of Excel 2003, called (say) SourceBook.xls and DestinationBook.xls
SourceBook.xls contains within it a worksheet SourceSheet.
SourceSheet contains several formulae including single-cell array formulae (but no multi-cell array formulae).
SourceBook.xls contains a number of defined names that are local to SourceSheet.
Neither workbook contains any links to external workbooks.
SourceSheet does contain some formulae linked to other worksheets in SourceBook.xls
I want a VBA routine in a general module (I don't care which workbook the macro resides in), the execution of which will copy SourceSheet and paste it into DestinationBook.xls but with the following odd additional effect:
All locally defined names, and all formulae contained in SourceSheet should be replicated CHARACTER FOR CHARACTER. References to other worksheets in the same workbook should be retained (trust me, the other referenced worksheets with the same name will exist in DestinationBook.xls). However, all references to SouceBook.xls should be stripped from formulae in the pasted SourceSheet and from any defined names that are transported across with it (and all those names must be transported).
Any and all help very gratefully received.
Bookmarks