Excel VBA Saving autofilter settings with dates

后端 未结 3 1733
鱼传尺愫
鱼传尺愫 2021-01-24 01:34

I have a part of a macro that stores the autofilter settings before clearing the filter, so it can reapply them later. The code is as follows:

Dim FilterArray()
         


        
3条回答
  •  梦谈多话
    2021-01-24 02:01

    I found out, to enable filter Date in Array.

    Below setting must be disable (Enable by default)

    ActiveWindow.AutoFilterDateGrouping = False
    

提交回复
热议问题