Hi,
I have a find and replace VBA formula which, when it cannot locate the specified sheet for that week, prompts the Select Sheet to popup. Is there a way for me to disable the Select Sheet popup?
Code is below:
![]()
Sub FindReplace() Range("Warehouse_1,ST_1,STP_1,Channel_1,Year_1").Select Selection.Replace What:=Range("Old_Week"), Replacement:=Range("New_Week"), LookAt:=xlPart, SearchOrder _ :=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False Calculate End Sub
Bookmarks