Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying a worksheet to another workbook | Excel Discussion (Misc queries) | |||
Open workbook to same worksheet and next empty row | Excel Worksheet Functions | |||
Copying a worksheet into the same workbook | New Users to Excel | |||
Copying A Worksheet From Each Open Workbook to an new Workbook | Excel Worksheet Functions | |||
Copying worksheet to another workbook | Excel Programming |