Excel error while saving file in .xlsm format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-20 11:07 AM
ERROR: Internal : Could not execute code stage because exception thrown by code stage: SaveAs method of Workbook class failed |
------------------------------
Rajkumar Selvaradjou
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-20 12:09 PM
Hi Rajkumar,
Can you please confirm if any macro is available in the excel file which you want to save since without macro, it won't allow you to save the file
------------------------------
Ritansh Jatwani
Consultant
EY
Asia/Kolkata
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-20 01:31 PM
------------------------------
Rajkumar Selvaradjou
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-20 03:09 PM
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-20 04:52 PM
Also kindly refer below post -
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=103&MessageKey=83f5c116-2262-4a7f-b980-4f1a7c28515b&CommunityKey=891bbd6b-b97a-418b-a7f5-475cdbcd9ca1&tab=dig...
------------------------------
Amin Patel
Intelligent Automation Developer
Emerson
Pune India
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-20 05:05 PM
Try to duplicate page SaveWorkbookAs and edit code. Change line
wb.SaveAs(Filename:=filename)
to
wb.SaveAs(Filename:=filename, FileFormat:=52)
You could also take file format into variable for support more file extensions.------------------------------
Tomasz Sukiennik
RPA Developer
Digital Teammates
Europe/Lodz
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-20 10:05 AM
------------------------------
Rajkumar Selvaradjou
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-20 11:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
28-10-20 02:06 PM
Below link will give you all fileformat number.
https://docs.microsoft.com/en-us/office/vba/api/excel.xlfileformat
Thanks
Nilesh
------------------------------
Nilesh Jadhav
Senior RPA Specialist
ADP
India
------------------------------
Consultant
ADP,India
