You could probably do it pretty easily in a macro, but why would you have 10 named ranges, all referring to the same range?
Hi Lukas
1. Open all files you want to change
2. Write the following macro in Visual Basic Editor
For Each w In Workbooks
w.Names.Add Name:="names", RefersToR1C1:= _
"=Sheet1!R1C1:R11C1"
Next w
Run this macro
PS: change Sheet1 to the real name of the sheet
sorry, I didn't described the situation very clearly. The 10 named ranges don't refer to the same range... I have in file1.xls a named range B10:X10 and in file2.xls a named range B10:X10 and in file3.xls ... The names of this ranges is "Months". So time by time I add a month and I want that the names for the ranges are now B10:X11 so that the new month is included in the named range...
Lukas
Lukas,
you can try this (you have to open all files first)
Then write the following macro in VB editor (F11)
Sub ChangeName()
For Each w In Workbooks
w.Names.Add Name:="Months", RefersToR1C1:= _
"=Sheet1!R10C2:R11C24"
Next w
End Sub
Run this macro
THANK YOU!!! It's exactly what I needed!!!