SkyDrive is Microsoft's "Cloud" computing solution. You noticed that there were suggestions of using SkyDrive. Try saving the attachment as a file from your email program before trying to open it in Excel #Excel for mac 2011 nested if zip#Usually zip files pass through unquestioned. * Some security programs on mail servers mangle files in the process of checking them to make sure they are safeĪs your sender to zip the file first. * Some security programs on PCs mangle files in the process of checking them to make sure they are safe * The sender can usually avoid corruption problems by using a file compression utility to save the file in Zip format before attaching the workbook as an attachment Changing extensions manually should never be done * The sender manually changing the file name or extension after the file was saved. * Not setting their email program to include the file extension The sender's email program may be corrupting the workbooks sent to you. Problems can occur at any stage of the process. Wb1 = os.path.join(os.path.dirname(os.path.abspath(_file_)), 'cheese.Since the problem affects only files sent to you by email, then the place to start this investigation is the email process. """Provides an Excel Application instance with no working book opened."""ĭef test_function_opening_a_workbook(Excel): # fixture to close all books in an Excel Application as we depend here itself on the session level fixture ExcelApp, using the fixture Excel ensures that an ExcelApp is present Yield ExcelApp # before yield statement comes the setup, after the teardown """Provides an Excel Application instance and kills the same after all tests have finished."""ĮxcelApp = xw.App(visible=False, spec=SPEC) SPEC = # session means per pytest execution
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |