Excel Filtering and Copying in VBA

前端 未结 2 620
野趣味
野趣味 2020-12-15 13:21

I\'m working on a VBA script that pulls a range of dates from Access, then filters the data and creates a chart based on the filtered data. The filtered data will be going

2条回答
  •  自闭症患者
    2020-12-15 13:44

    I think that you have to do this in 2 separate steps:

    1. filter the data
    2. copy the filtered data to another sheet

    The answer here has an excellent example of how to do this: Autofilter Macro, then copy visible data ONLY and paste to next available row

提交回复
热议问题