Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
i have tryed but failed in writing a macro that would change the filename in a link. I want my users to enter the file name in a cell on one sheet and then press a button to change the filename in all links in the workbook. can any one help me? THX |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sub ChangeLinks()
ActiveWorkbook.ChangeLink Name:="menu.xls", _ NewName:="wiebe.xls", Type:=xlExcelLinks End Sub or NewName:=range("a1").value, Type:=xlExcelLinks -- Don Guillett Microsoft MVP Excel SalesAid Software "Ben" wrote in message ... Hi, i have tryed but failed in writing a macro that would change the filename in a link. I want my users to enter the file name in a cell on one sheet and then press a button to change the filename in all links in the workbook. can any one help me? THX |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
link to other workbook with changing filename | Excel Worksheet Functions | |||
Use filename in cell to link data | Excel Worksheet Functions | |||
Changing Filename when linked to other worksheets | Excel Discussion (Misc queries) | |||
How do I use a cell value as the filename in an external link? | Excel Discussion (Misc queries) | |||
How do I use a cell value as the filename in an external link? | Excel Worksheet Functions |