To modify the column where you want to filter the content, you need to change the letter 'A' to the letter of the column you want to filter. For example, if you want to filter the content in column 'C', you should change 'A' to 'C' in the code:

If wsSource.Cells(i, 'C').Value = filterValue Then

How to Modify Column Filter in VBA Code

原文地址: https://www.cveoy.top/t/topic/lKfm 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录