23-12-22 03:10 PM
Internal : Could not execute code stage because exception thrown by code stage:
Unable to find Account Display Name 'X'.
Public member 'Cast' on type 'Accounts' not found.
Dim aa As List(Of Account) = olNamespace.Accounts.Cast(Of Account).ToList()
23-12-22 05:48 PM
Hi Johan,
I replicated this issue,
it's a namespace initiation issue, and also check the "Account Display Name" field "X" is added I guess
------------------------------
Thanks
Prasanth
Software Engineer | RPA Developer
------------------------------
27-12-22 02:04 PM
27-12-22 04:22 PM
Dim aa As List(Of Account) = olNamespace.Accounts.Cast(Of Account).ToList()
Change it to this:
Dim aa = TryCast(CObj(olNamespace.Accounts), List(Of Account))
Cheers,
Eric
12-04-24 01:51 PM
Hi Eric,
I am having this same issue where it states "unable to find account display name", I have tried all possible variations of the display name I can find, and I have also tried your code change but that didn't work for me
I'm using 'Send Email' on the MS Outlook Email VBO - is there any other solution you can think of?
Thanks
Alex