iainmartin100
New Member
- Joined
- Mar 9, 2011
- Messages
- 43
Hi,
Iv'e searched the forum but unfortunatly can't find the answer, hoping someone can help.
If in the current workbook I have a link to another workbook how can I have a marco to bring up the Edit>Links dialog box and then selects change source?
To make life easier say I have the link is in Sheet1,cell A1 - do I need to refrance this cell to extract the link? and how.
Basiclly I want to do the below, the only issue is that the current link name 123.xls may change and the new link 456.xls will be user difined:
ActiveWorkbook.ChangeLink Name:= _
"C:\123.xls", _
NewName:= _
"C:\456.xls", _
Type:=xlExcelLinks
Any help would be really appriciated.
Iv'e searched the forum but unfortunatly can't find the answer, hoping someone can help.
If in the current workbook I have a link to another workbook how can I have a marco to bring up the Edit>Links dialog box and then selects change source?
To make life easier say I have the link is in Sheet1,cell A1 - do I need to refrance this cell to extract the link? and how.
Basiclly I want to do the below, the only issue is that the current link name 123.xls may change and the new link 456.xls will be user difined:
ActiveWorkbook.ChangeLink Name:= _
"C:\123.xls", _
NewName:= _
"C:\456.xls", _
Type:=xlExcelLinks
Any help would be really appriciated.