nickshep85
New Member
- Joined
- Mar 21, 2012
- Messages
- 37
I am very new to VBA and am trying to find a way to apply an autofilter and then paste the results onto a specific sheet in a different workbook. Sadly, my small grasp of VBA has stopped when it comes to this . Can anyone help me please? Details are as below:
I'm sure that there would be a way of looping through Sheets to filter, then copy and paste into the next Row in the required Sheet, but I am getting very, VERY, lost.
Please can someone help me with this problem, as I don't know where to begin with this.
Many thanks in advance.
- The Workbook that I need filtered is called PriceFile and could have anywhere between 1 & 3 sheets;
- The data that needs to be filtered will always be Column I, and will be either TRUE or FALSE;
- My destination Workbook is called ImportFile, and has two Sheets: "Tyres" and "Mechanical"
- The Sheets in the destination Workbook have two rows at the top which I use for headers
- All TRUE values from PriceFile need to be copied into the next available Row in "Mechanical" tab
- All FALSE values from PriceFile need to be copied into the next available Row in "Tyres"
I'm sure that there would be a way of looping through Sheets to filter, then copy and paste into the next Row in the required Sheet, but I am getting very, VERY, lost.
Please can someone help me with this problem, as I don't know where to begin with this.
Many thanks in advance.