Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel 2003. I am programmatically copying selected sheets from one workbook
to another. For example, I copy four sheets from one workbook to another. The fourth sheet copied has formulas that reference the first three sheets copied. When the fourth sheet is copied, an external link is created in these formulas that references the "copy from" workbook. I want the fourth sheet to reference the sheets in the "copy to" workbook rather than the "copy from" workbook. How may I accomplish this? Thanks for any help. -- Dr. Doug Pruiett Good News Jail & Prison Ministry www.goodnewsjail.org |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Chaplain Doug wrote:
Excel 2003. I am programmatically copying selected sheets from one workbook to another. For example, I copy four sheets from one workbook to another. The fourth sheet copied has formulas that reference the first three sheets copied. When the fourth sheet is copied, an external link is created in these formulas that references the "copy from" workbook. I want the fourth sheet to reference the sheets in the "copy to" workbook rather than the "copy from" workbook. How may I accomplish this? Thanks for any help. Hi Doug, I don't if it is possible from a macro, but from menu Edit, Links, you have the possibility to change the source of a link from a workbook to another, even to the workbook in which the link is. You could try to record a macro when you do the operations... -- (I'm not sure of names of menus, options and commands, because translating from the Italian version of Excel...) Hope I helped you. Thanks in advance for your feedback. Ciao Franz Verga from Italy |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Chaplain Doug wrote: Excel 2003. I am programmatically copying selected sheets from one workbook to another. For example, I copy four sheets from one workbook to another. The fourth sheet copied has formulas that reference the first three sheets copied. When the fourth sheet is copied, an external link is created in these formulas that references the "copy from" workbook. I want the fourth sheet to reference the sheets in the "copy to" workbook rather than the "copy from" workbook. How may I accomplish this? Thanks for any help. -- Dr. Doug Pruiett Good News Jail & Prison Ministry www.goodnewsjail.org Hi Chaplain. Try using changelinks method ... eg ActiveWorkbook.ChangeLink "c:\excel\book1.xls", "c:\excel\book2.xls", xlExcelLinks Please check the help file for additional info .. Cheers, Tausif |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank uyou for the tip. That is what I used.
-- Dr. Doug Pruiett Good News Jail & Prison Ministry www.goodnewsjail.org " wrote: Chaplain Doug wrote: Excel 2003. I am programmatically copying selected sheets from one workbook to another. For example, I copy four sheets from one workbook to another. The fourth sheet copied has formulas that reference the first three sheets copied. When the fourth sheet is copied, an external link is created in these formulas that references the "copy from" workbook. I want the fourth sheet to reference the sheets in the "copy to" workbook rather than the "copy from" workbook. How may I accomplish this? Thanks for any help. -- Dr. Doug Pruiett Good News Jail & Prison Ministry www.goodnewsjail.org Hi Chaplain. Try using changelinks method ... eg ActiveWorkbook.ChangeLink "c:\excel\book1.xls", "c:\excel\book2.xls", xlExcelLinks Please check the help file for additional info .. Cheers, Tausif |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
External link saved as internal - updating with Outlook | Links and Linking in Excel | |||
Link to external link | Excel Worksheet Functions | |||
how to set up an internal link between two excel files? | Excel Discussion (Misc queries) | |||
External link | Excel Worksheet Functions | |||
Bad External Link | Excel Programming |