If, by spreadsheets, you mean 75 worksheets in a single workbook, with
SWP defined as a sheet-level name, then one way:
Public Sub ChangeSWP()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Range("A27:F39").Name = ws.Name & "!SWP"
Next ws
End Sub
If instead you mean you have 75 workbooks with SWP defined as a workbook
level name, then one way:
Public Sub ChangeSWP()
ActiveWorkbook.Sheets("Sheet1").Range("A27:F39").Name = "SWP"
End Sub
In article <(E-Mail Removed)>,
(E-Mail Removed) wrote:
> Hello....
>
> I have a defined name range "SWP" that currently refers to cells
> A22
34. However, I need it to update to read A27:F39. This name
> range is used in about 75 spreadsheets, however it looks like I have
> to change SWP manually for each spreadsheet. Does anyone have a macro
> to help change this range or an easy way to update this?
>
> Thank you!!