View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kentae Kentae is offline
external usenet poster
 
Posts: 3
Default Advanced filter VS formula in cell

Hi
In the criteria range B5:G6 in the sheet I have a formula: =""&C15-10 there
C15 can be a value between 80 - 200. For example 100 gives 90. But it
doesent runs in the macro code: Range("B17:G220").AdvancedFilter
Action:=xlFilterCopy, CriteriaRange:=Range("B5:G6"),
CopyToRange:=Range("Y17"), Unique:=True
Thanks in advance for help.