Question

2
Replies
463
Views
Isaiah Rosales (IsaiahR9)
Sun Life Financial Inc

Sun Life Financial Inc
PH
IsaiahR9 Member since 2017 19 posts
Sun Life Financial Inc
Posted: June 25, 2018
Last activity: June 25, 2018
Posted: 25 Jun 2018 3:07 EDT
Last activity: 25 Jun 2018 22:20 EDT
Closed
Solved

Clipboard Set Text not working

I have a script that copies range of excel.

copyRange = xlWorksheet.get_Range("A1:A12");

copyRange.Copy(Type.Missing);

I want to put this into clipboard and I have this script below.

public string GetText()

{

a = Clipboard.GetText(a);

return a;

}

public void SetText(string a)

{

Clipboard.SetText(a);

}

This works on visual studio but in pega it returns null.

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.