Clipboard.SetData(DataFormats.Text, "<Script"); Microsoft.Office.Interop.Excel.Application oApplication = new Microsoft.Office.Interop.Excel.Application(); oApplication.Visible = true; Workbooks oWorkbooks = oApplication.Workbooks; System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US"); Workbook oWorkbook = oWorkbooks.Add(); Worksheet rWorksheet = (Worksheet)oWorkbook.ActiveSheet; Range rRange = rWorksheet.Range[rWorksheet.Cells[1, 1], rWorksheet.Cells[1, 1]]; rRange.PasteSpecial(XlPasteType.xlPasteValues);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)