You assign a macro to an object in an Excel worksheet. After you copy the worksheet to a new Excel workbook in Microsoft Office Excel 2007, the macro does not work in the new workbook and you receive the following error message:
Cannot run the macro <macro name >. The macro may not be available in this workbook or all macros may be disabled.