A scanned copy is usually stored on a computers memory after scanning and can be reproduced as you wish by only taking one digital imprint of the original document. A color copy, however is only a simple imprint (copy) of the original document which is not stored on a computers memory.
One way to invoke an Excel macro from MATLAB is by launching Excel as a COM server from MATLAB using the 'actxserver' command. Suppose there is an Excel file 'myFile.xls' containing the macro called 'Macro1'. The following commands should first open the Excel file and then run the macro: % Create object.
The zip file contains the two MATLAB functions (m files) as well as an Excel workbook that contains the VBA code presented above. The workbook can be opened with Excel 2007 or newer. Please enable macros before using it. In order to run properly the 3 macros you must have installed MATLAB at your computer.