We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Paste to IWorksheet from clipboard

Thread ID:

Created:

Updated:

Platform:

Replies:

108156 Apr 5,2013 10:33 AM Apr 9,2013 01:27 AM Windows Forms 3
loading
Tags: XlsIO
Gaukhar Massabayeva
Asked On April 5, 2013 10:33 AM

I copy GridRangeInfo into a clipboard and would like to paste it into a IWorksheet I have created. How can this be achieved?

Gaukhar Massabayeva
Replied On April 5, 2013 10:34 AM

Sample code

ExcelEngine

Engine = CreateEngine();

IWorkbook book = engine.Excel.Workbooks.Create(1);

IWorksheet sheet = book.Worksheets[0];

model.CutPaste.ClipboardFlags =

GridDragDropFlags.Styles;

model.CutPaste.CopyRange(

GridRangeInfo.Table());

sheet.

book.SaveAs(FileName);

book.Close();

}


Gaukhar Massabayeva
Replied On April 8, 2013 05:04 AM

I can see the copying but where is the pasting into worksheet bit is?


Rajesh A [Syncfusion]
Replied On April 9, 2013 01:27 AM

Hi Gaukhar Massabayeva,

   Thank you for using the Syncfusion product.

  Currently XlsIO is not having the support for “pasting the clipboard values into worksheet” and we have already logged the feature report regarding this. We are requesting you to create a new direct-trac incident for follow-up this feature.

Please let us know if you have any clarification.

Thanks,

Rajesh.A


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;