Tag Archives | Interop

Excel Interop: Move a Worksheet

Excel Interop: Move a Worksheet

Howdy! I spent an hour or so trying to figure this one out. Hope this helps someone. I am using Excel Interop with C#, and have a method that calls the .Move(Before, After) function on a Worksheet. I was trying to move a sheet to the end, and was using this code: mySheet.Move(null, myWorkbook.Worksheets[myWorkbook.Worksheets.Count]) I […]

Continue Reading 0

Powered by WordPress. Designed by Woo Themes