I have a range of data that extends A1:AO120708 and I need to select every row based on three different criteria. The criteria is as follows: Col D needs to be <50, Col T needs to be >10, and Col V needs to state "Domestic". If all three of these data are met in any given row i need to select that row. Will also need to select Row 1 to grab the headers. I will do this a total of four times: <50,>10,"Domestic"; >50>10,"Domestic;<50,>10,"Import"; and the last time will be >50,>10,"Import". The code I currently use for the above which works is: (provided by TasosK from previous question)
VB:
However the problem I have now is that the data I am being given will not always be in the same columns could I make this work but instead of hard coding the columns have them as a varible based on certain headings?Please Login or Register to view this content.
Also posted at:
http://answers.microsoft.com/en-us/o...e-ce243b28a9ec
http://www.ozgrid.com/forum/showthre...060#post629060
Moderator Edit:
Welcome to the forum, chad portman.
Please notice that code tags have been added to your post. The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at the top of the page and read Rule #3.
Thanks.
Bookmarks