J
jdcollins21
I got a long list of data which I sort by column C in Book1.xls.
Example
xxxx yyyy (Column C) zzzz aaaa
aaaa bbbb (Column C) dddd eeee
Column C is one of 12 city names.
There's data in the other four columns but it's inconsequential.
What I want to do is (In a second Workbook)
Have an Inputbox that asks for the city Name.
Next, It would then sort through Sheet1 of Book1.xls for all rows that
contain that city name in column C
Next, Copy the first five columns of the sheet1 in Book1 (to &
including Column E)
Finally, Paste those in the Active workbook in sheet1 starting in Cell
A2
Example
xxxx yyyy (Column C) zzzz aaaa
aaaa bbbb (Column C) dddd eeee
Column C is one of 12 city names.
There's data in the other four columns but it's inconsequential.
What I want to do is (In a second Workbook)
Have an Inputbox that asks for the city Name.
Next, It would then sort through Sheet1 of Book1.xls for all rows that
contain that city name in column C
Next, Copy the first five columns of the sheet1 in Book1 (to &
including Column E)
Finally, Paste those in the Active workbook in sheet1 starting in Cell
A2