Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull records from Database using Excel userform

Status
Not open for further replies.

cken21

Technical User
Oct 19, 2011
37
Hi,

I have a userform which records a range of Data onto an external database table. I was wondering is it possible to retrieve these records one at a time into textboxes on another userform based on a condition. I know this seems vague but i can't find a solution using google or VB forums

Date
Product Number
Surname
Incentive Paid: Yes/No

Ideally this would run off a command button which would then retrieve the next record which meets the criteria
 


hi,

You can query your data, either use MS Query, which is a native Excel feature via Data > Get External data... or using ActiveX Data Object via VBA.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top