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;
}
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.