I only want to remove rows that have @test.co.uk in the Username/Email column
To achieve that i created a variable in my For Each called List with a default value of {“@test.co.uk”} to remove any user name like @test,co.uk
The List variable is of type an Array of System.String
Thanks but I don’t want to create another worksheet, just need to remove them from the existing worksheet.
Tried using the Write range to the same worksheet “Master Data” but it faulted with the following message “System.Data.EvaluateException: Cannot perform ‘Like’ operation on System.Double and System.String.”
I created separate sheet because you tried to write final result in another sheet. That’s why I did like that.
If you don’t want to write in separate sheet then do one thing use Write Cell activity and specify range as “A1:C500” and pass values as empty string " " before writing into sheet using Write range activity.