Question

2
Replies
405
Views
IsaiahR9 Member since 2017 19 posts
Sun Life Financial Inc
Posted: June 25, 2018
Last activity: June 25, 2018
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
Share this page LinkedIn