Creation of VBA Code
Creation of VBA Code
(OP)
I want to create a code to have the user input a number, have the code search through a column of cells with these numbers, and report back the rows of data associated with the column if it matches the input number. Ideally these would be reported on a different spreadsheet. I am pretty clueless with Excel VBA and just started. Any help with this code would be appreciated, as well as any references as I would like to learn.





RE: Creation of VBA Code
I'd suggest using a query to return the rows that match your criteria.
Data > Get external data > from other sources > from Microsoft query... And drill down to your workbook. If your table is the only Dara on the sheet and has headings in row 1, as a proper table ought, your sheet will act as a database table. You can make your query to be a "parameter query" allowing you to enter a criteria value in a cell that will modify the query results.
No VBA required!
Skip,
Just traded in my OLD subtlety...
for a NUance!
RE: Creation of VBA Code
RE: Creation of VBA Code
Skip,
Just traded in my OLD subtlety...
for a NUance!