![]() ![]() #include Global $filename = "test1.xls" Global $filepath = "C:\Documents and Settings\Administrator\Desktop\test1.xls" $oExcel = _ExcelBookAttach ( $filename, "FileName" ) If $oExcel = 0 Then $oExcel = _ExcelBookOpen ( $filepath, 1 ) EndIf _ExcelWriteCell ( $oExcel, "abc", 2, 2 ) $oExcel. ![]() I want to use the $oExcel.Run("") macro method mentioned above, but it only seems to work for me with the returned obj from _ExcelBookOpen, the returned obj from _ExcelBookAttach does not let me use. so i'm forced to use filename to have the error return correctly. if i change bookattach method to FileName, it no longer causes the. Hey guys im getting some strange things with excel, when i run _ExcelBookAttach from the latest offical build, i have an excel.exe process appear for a split second in my task manager, i think this causes the to return incorrectly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |