Any idea on how to fix this error. When updating my master page across the sheets I get the error saying:
Run-time error '1004':
The extract range has a missing or invalid field name.
( the red text below is the one highlighted as the issue)
Sub FilterRefresh()
'
' FilterRefresh Macro
'
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store1"), CopyToRange:=Range("'1803'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store2"), CopyToRange:=Range("'1808'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store3"), CopyToRange:=Range("'1810'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store4"), CopyToRange:=Range("'4714'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store5"), CopyToRange:=Range("'4719'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store6"), CopyToRange:=Range("'4732'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store7"), CopyToRange:=Range("'4735'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store8"), CopyToRange:=Range("'4743'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store9"), CopyToRange:=Range("'4748'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store10"), CopyToRange:=Range("'8966'!Extract"), Unique:=False
End Sub
Run-time error '1004':
The extract range has a missing or invalid field name.
( the red text below is the one highlighted as the issue)
Sub FilterRefresh()
'
' FilterRefresh Macro
'
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store1"), CopyToRange:=Range("'1803'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store2"), CopyToRange:=Range("'1808'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store3"), CopyToRange:=Range("'1810'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store4"), CopyToRange:=Range("'4714'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store5"), CopyToRange:=Range("'4719'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store6"), CopyToRange:=Range("'4732'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store7"), CopyToRange:=Range("'4735'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store8"), CopyToRange:=Range("'4743'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store9"), CopyToRange:=Range("'4748'!Extract"), Unique:=False
Range("MASTER").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Store10"), CopyToRange:=Range("'8966'!Extract"), Unique:=False
End Sub