MS Excel VBO
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-03-20 09:44 AM
Hello,
I'm using the standard MS Excel VBO, opening a workbook, checking some details and adding data to a row and then saving into another location, the spreadsheet contains some dates, which open in UK format, (Added Local:=True to Open Workbook code) but when the workbook is saved to the new location it is saving the dates in the an American format, which causes problems later in the process, is there a way of setting it to save the dates in Local format?
Thanks
------------------------------
Mark Haynes
Automation Developer
------------------------------
I'm using the standard MS Excel VBO, opening a workbook, checking some details and adding data to a row and then saving into another location, the spreadsheet contains some dates, which open in UK format, (Added Local:=True to Open Workbook code) but when the workbook is saved to the new location it is saving the dates in the an American format, which causes problems later in the process, is there a way of setting it to save the dates in Local format?
Thanks
------------------------------
Mark Haynes
Automation Developer
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-03-20 02:01 PM
There is a similar Local parameter when saving the workbook, setting that to true might help.
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
------------------------------
Nicholas Zejdlik
RPA Developer
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-21 09:30 AM
Can you please share the Code that you have been using. Especially where in the Excel VBO you added these Local=True Parameter
------------------------------
Marco Matuttis
Robot Process Automation Developer
INTER Krankenversicherung AG
Mannheim
------------------------------
------------------------------
Marco Matuttis
Robot Process Automation Developer
INTER Krankenversicherung AG
Mannheim
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-21 03:17 PM
@Mark Haynes,
As @Nicholas Zejdlik pointed out, you would need to update whichever action you're using to save the Workbook to include the Local:=True option too. As an example, if you're using the Save Workbook As action, you change the VB in the Code stage from wb.SaveAs(filename) to something like wb.SaveAs(FileName:=filename, Local:=True).
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
As @Nicholas Zejdlik pointed out, you would need to update whichever action you're using to save the Workbook to include the Local:=True option too. As an example, if you're using the Save Workbook As action, you change the VB in the Code stage from wb.SaveAs(filename) to something like wb.SaveAs(FileName:=filename, Local:=True).
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
