Hi,
Try this For Each...Next loop instead:Hope this helps![]()
For Each nName In ThisWorkbook.Names If nName.RefersToRange.Worksheet.Name = shtname Then nName.Delete End If Next nName
![]()
Hi,
Try this For Each...Next loop instead:Hope this helps![]()
For Each nName In ThisWorkbook.Names If nName.RefersToRange.Worksheet.Name = shtname Then nName.Delete End If Next nName
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks