R
Robert Bravery
Hi all,
I'm using the following code to copy data from XL to the clipboard to be
later usied in a datatable
range = objSheet.get_Range("A22", "aa100");
range.Copy(Missing.Value).ToString();
xlcopydata = Clipboard.GetData(DataFormats.Text).ToString();
Clipboard.Clear();
But when I issue a excelapplication quite I get an dialog saying that I have
large amounts of data on the clipboard, do I want to keep it etc etc
How do I prohibit this message from apearing and making sure that onece the
data is copied to my string variable that the clipboard is cleared
Thanks
Robert
I'm using the following code to copy data from XL to the clipboard to be
later usied in a datatable
range = objSheet.get_Range("A22", "aa100");
range.Copy(Missing.Value).ToString();
xlcopydata = Clipboard.GetData(DataFormats.Text).ToString();
Clipboard.Clear();
But when I issue a excelapplication quite I get an dialog saying that I have
large amounts of data on the clipboard, do I want to keep it etc etc
How do I prohibit this message from apearing and making sure that onece the
data is copied to my string variable that the clipboard is cleared
Thanks
Robert