I have written a program to get Text field from a qlik view chart from an application and copy it to word document. Suppose the text field has name Alex. It copies the word successfully Alex to word. Now i want to save Alex(Text field in string) How to do that?
case 6: //text
QVObject.GetSheet().Activate();
ReportControl.QVApp.WaitForIdle();
if (objectName == "TX01")
{
Console.WriteLine("I have found my fullname again");
// copy text field in global object tamp_val ----> error here
tamp_val = QVObject.CopyTextToClipboard();
Console.WriteLine(" this is my object type" + tamp_val);
// QVObject.CopyTextToClipboard();
}
QVObject.CopyTextToClipboard();
Console.WriteLine("Found TX item: {0}", objectName);
//pasteToWord(item);
break;