View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Manuel Jörges Manuel Jörges is offline
external usenet poster
 
Posts: 1
Default 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