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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with InsertColumn (v4.402, VS 2005, framework 2.0.50727)

Thread ID:

Created:

Updated:

Platform:

Replies:

57122 Feb 26,2007 07:03 PM UTC Feb 27,2007 06:39 AM UTC WinForms 1
loading
Tags: XlsIO
Ron Huebner
Asked On February 26, 2007 07:03 PM UTC

I'm having a problem inserting a column into an XlsIo worksheet. The error detail is in the attached text file. When I have a value of nCol of 4 in the following code I get the error. The sheet is instantiated and has been written to in column 3. I want to capture the formatting in column 3 and put that into column 4 with an insert operation.

// insert a new column
if (nCol > 3)
{
sheet.InsertColumn( nCol, 1, ExcelInsertOptions.FormatAsBefore );
}

The error message is "Specified argument was out of the range of valid values.\r\nParameter name: FirstRow"

Any suggestions to get this to work?

error detail.zip

Melba Winshia [Syncfusion]
Replied On February 27, 2007 06:39 AM UTC

Hi Ron,

Thanks for your interest in Essential XlsIO.

I am afraid. I was not able to reproduce the issue [Specified argument was out of the range of valid values]. Here is the test sample that I used to test this issue.

InsertRow.zip

Here is the output file generated with out any exception:

Sample.xls

Could you please take a look at the sample above and kindly let me know if you still find any problem, if not could you please modify this sample so that I can reproduce the issue or could you please send the template file used in this case? This would help me in investigating this issue further.

Thanks,
Melba

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;