- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 09:54 AM
i'm writing my code filter excel , but i have a erro :
internql impossible d'executer la phase de code parceque l'exception a été lancée par la phase de code exception HRESULT : 0x800A03ECbut i think i have not erro in my code
------------------------------
cissoko yann
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 06:14 PM
Cissoko please see the screenshots below. Hope this helps
------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 11:44 AM
Can you share with us your code?
And... you have many options to interact with an Excel File. Are you considering using it instead of writing your own code?
Bye 🙂
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
634726270
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 11:50 AM
Hello @cissoko yann,
Please do check the handle which you are using while using the inside the code filter . It seems the issue of the handle passing is different you can use same page to create the handle and use in our code block for filtering excel.
For filter excel you can also use VBO Collection Manipulation if that is what you needed for your use case where no need of code stage required.
if the column name is two separate words then it need to be in square brackets, i.e. [Left column]
also; when using variables its important to know the following; (its for text but you can experiment with it)
"[Column Name] = "'&[Variable]&"'"
""&&[Variable column name]&" = 'text'" or
""&&[Variable column name]&" = '"&[Variable]&"'"
you can also swap out = for, <> or Like etc.
experiment with it, it will be slightly different with numbers only.
------------------------------
Shikhar Mishra
RPA Lead
Infosys Pvt Ltd
Pune,India
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 02:05 PM
Are you trying to set a filter on an excel file? Is this a code action you have written yourself and are getting an error message? If you share your code we could possibly identify errors in it. I've previously done something similar I've included my code below and hopefully its useful to you and you can make use of it or it will help you resolve the issue in your own code.
Inputs - Handle, range, workbookname, worksheetname, criteriastring, columnumber
Outputs - Success, Message
------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 02:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 03:45 PM
thx
------------------------------
cissoko yann
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 04:08 PM
Please check once by passing it
------------------------------
Shikhar Mishra
RPA Lead
Infosys Pvt Ltd
Pune,India
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-02-22 06:14 PM
Cissoko please see the screenshots below. Hope this helps
------------------------------
Michael ONeil
Technical Lead developer
NTTData
Europe/London
------------------------------
