ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VB to specify criteria then paste to a new worksheet (https://www.excelbanter.com/excel-programming/440515-vbulletin-specify-criteria-then-paste-new-worksheet.html)

CH

VB to specify criteria then paste to a new worksheet
 
I need to find a way to in a sense query off of a spreadsheet in excel.

I have 4 criteria that a user will need to enter (for 4 separate columns)
into a sheet and then paste rows matching that criterion to a new worksheet.

I was thinking to use activeX text boxes to allow entry of the said
criteria, but not sure how to make VB look at a certain cell for criteria
instead of a fixed refernce.

Any help / guidance would be greatly appreciated.


Dennis Tucker

VB to specify criteria then paste to a new worksheet
 
Are you familiar with the Autofilter?


Dennis

"CH" wrote in message
...
I need to find a way to in a sense query off of a spreadsheet in excel.

I have 4 criteria that a user will need to enter (for 4 separate columns)
into a sheet and then paste rows matching that criterion to a new
worksheet.

I was thinking to use activeX text boxes to allow entry of the said
criteria, but not sure how to make VB look at a certain cell for criteria
instead of a fixed refernce.

Any help / guidance would be greatly appreciated.



All times are GMT +1. The time now is 10:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com