
Originally Posted by
sujitshukla
I have data about 1200 rows 40 Columns in Access. I need to pull this data in excel using VBA. So the user will just select dropdowns in excel (around 4-5 dropdown) .This would be the criteria based on which data should be pulled..
If its only criteria. I know how to pull data. But help needed when the user will have more than one criteria.
I am not sure that I fully understand your question but in your line of code (below)
this opens and retrieves the whole table.
If you want only a part of the table returned either only certain columns and/or certain rows then you need to use a "select" statement of the form:
The * means all fields. replace this with a list of field name if you only want some
Bookmarks