expression A variable that represents an AutoFilter object. The following example stores in a variable the address for the AutoFilter applied to the Crew worksheet. rAddress = ...
The following example stores in a variable the address for the AutoFilter applied to the Crew worksheet. rAddress = Worksheets("Crew").AutoFilter.Range.Address This example scrolls through the ...
Excelのデータリストから、「今週のデータだけ」や「先月のデータだけ」を絞り込みたいとき、毎回手作業で日付の範囲を指定していませんか?マクロを組むにしても、日付を直接書き込むと、来週や来月には、そのマクロはもう使えなくなってしまいます。