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.

AddCopy sheet location

Thread ID:

Created:

Updated:

Platform:

Replies:

34782 Sep 15,2005 04:04 PM Sep 16,2005 12:43 AM Windows Forms 2
loading
Tags: XlsIO
Roderick Prince
Asked On September 15, 2005 04:04 PM

After performing an Workbook.Worksheets.AddCopy(Index) is it possible to move the newly created sheet to a different location within the workbook. ie. Start: [Tab 1][Tab 2][Tab 3] AddCopy(1) After: [Tab 1][Tab 2][Tab 3][Tab 1_1] <-- new Some move magic... Want: [Tab 1][Tab 1_1][Tab 2][Tab 3] Thanks!

Administrator [Syncfusion]
Replied On September 16, 2005 12:42 AM

>After performing an Workbook.Worksheets.AddCopy(Index) is it possible to move the newly created sheet to a different location within the workbook. > >ie. >Start: [Tab 1][Tab 2][Tab 3] >AddCopy(1) >After: [Tab 1][Tab 2][Tab 3][Tab 1_1] <-- new >Some move magic... >Want: [Tab 1][Tab 1_1][Tab 2][Tab 3] > >Thanks! As I know there is no way to set needed place for Sheet within the Sheets collection

Administrator [Syncfusion]
Replied On September 16, 2005 12:43 AM

Hi Roderick, I put together a sample based on your requirements. Please take a look at this sample and let me know if you have any questions. CopyWorkSheetToAnotherWorkBook_4332.zip Best Regards, Seetha. >After performing an Workbook.Worksheets.AddCopy(Index) is it possible to move the newly created sheet to a different location within the workbook. > >ie. >Start: [Tab 1][Tab 2][Tab 3] >AddCopy(1) >After: [Tab 1][Tab 2][Tab 3][Tab 1_1] <-- new >Some move magic... >Want: [Tab 1][Tab 1_1][Tab 2][Tab 3] > >Thanks!

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.

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.

;