Hi,
In my C# 1.1 windows form Form1, I would like to open an existing Excel file
EX1.xls and run the Macro M1 in the EX1.xls.
I can open the EX1.xls with no problem, but I encounterd some problems.
It can't find the Macro M1 in the
m_objExcel.Run("M1",oMissing,oMissing,oMissing,oMi ssing,oMissing,oMissing,oMissing,oMissing,oMissing ,oMissing,oMissing,oMissing,oMissing,
oMissing,oMissing,oMissing,oMissing,oMissing,oMiss ing,oMissing,oMissing,oMissing,oMissing,oMissing,
oMissing,oMissing,oMissing,oMissing,oMissing,oMiss ing);
It's odd that the Macro M1's already in file EX1.xls, why would the missing
happen?
Thanks for help.
Jason