Copying a Worksheet from an AddIn into an empty Workbook
Hi,
I have a Worksheet in an AddIn. I want to copy this Sheet into a new, empty Workbook. I do this with the following Code: Application.ThisWorkbook.Worksheets("Sheet1").Copy _ Before := ActiveWorkbook.Sheets("Sheet3") The Problem is, that all Links in the new Workbook are changed from ='Sheet3!B17' to ='[AddIn.xla]Sheet3!B17' Is there any possibility to prevent Excel to convert the Links? Any Help will be gladly appreciate, Manuel |
Copying a Worksheet from an AddIn into an empty Workbook
After you copy the sheet use the ChangeLink method to fix the links.
-- Jim Rech Excel MVP |
All times are GMT +1. The time now is 12:39 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com