I am attempting to re-size named range, struggling to find the correct syntax, todate I have the below...any suggestions !!!
Sub ResizeRange()
Dim Nm As Name
For Each Nm In ThisWorkbook.Names
If Nm.Name Like "*d*" And Not Nm.Name Like "*!*" Then
Nm.Resize(Nm.Rows.Count + 1, Nm.Columns.Count).Resize = "Nm"
End If
Next Nm
End Sub
Many Thanks
Simon
Sub ResizeRange()
Dim Nm As Name
For Each Nm In ThisWorkbook.Names
If Nm.Name Like "*d*" And Not Nm.Name Like "*!*" Then
Nm.Resize(Nm.Rows.Count + 1, Nm.Columns.Count).Resize = "Nm"
End If
Next Nm
End Sub
Many Thanks
Simon