Thanks for all the suggestions. However none of them work. I have determined that the problem has to do with the difference between 2004 Excel and 2008 Excel. My original file was actually a workbook created with Excel 2004, consisting of 5 sheets with Excel 4.0 XLM macros in one of them. When I copied each of the sheet into an individual workbook, the insert row function works fine for each sheet, But together on one workbook, it refuses to work on any of the 5 sheets. I tried saving the file with the macros removed (xsli format), the insert row function again gives the same "cannot shift objects off sheet" comment. Anyway, thanks for all the help. Since I do need to use the macros for my application, sticking with Excel 2004 for this file is probably unavoidable.
dtwlee