Convert Excel or csv files to ASCII format
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-22 03:08 PM
HI
I need to convert excel/csv files to ASCII format. Is there a way to do so using Blueprism
------------------------------
Sudersan Rao S
------------------------------
I need to convert excel/csv files to ASCII format. Is there a way to do so using Blueprism
------------------------------
Sudersan Rao S
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-22 04:03 PM
Hi @Sudersan Rao S,
You only can change the format to CSV files. Excel file are not formatted as such because it is not a plain text file.
To change this you can use some code, cause I think there is no specific VBO for this.
I modify a little bit the VBO "Utility - File Management" to add new action called "Change encoding to Ascii". You only need to give as input parameter the file path.
The code behind is simple:
Hope this helps you!
See you in the Community, bye :)
------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------
You only can change the format to CSV files. Excel file are not formatted as such because it is not a plain text file.
To change this you can use some code, cause I think there is no specific VBO for this.
I modify a little bit the VBO "Utility - File Management" to add new action called "Change encoding to Ascii". You only need to give as input parameter the file path.
The code behind is simple:
Dim text = File.ReadAllText(strFileName, Encoding.Default)
File.WriteAllText(strFileName, text, Encoding.ASCII)
Hope this helps you!
See you in the Community, bye :)
------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-22 04:19 PM
Hi Pablo Sarabia,
Can we do the same for .txt files?
------------------------------
Arun Kumar
------------------------------
Can we do the same for .txt files?
------------------------------
Arun Kumar
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-08-22 05:35 PM
Hi, Arun Kumar, yes, you can!
------------------------------
Emerson Ferreira
Cons, Intelligent automation
Avanade Brasil
Recife
+5581988869544
If my answer helped you? Mark as useful!
------------------------------
------------------------------
Emerson Ferreira
Cons, Intelligent automation
Avanade Brasil
Recife
+5581988869544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil
