Nov 3, 2004 #1 ietprofessional Programmer Joined Apr 1, 2004 Messages 267 Location US Does anyone have any vba-ado code that will allow me(from an access db) pull data from an excel sheet into an access table. Thanks!
Does anyone have any vba-ado code that will allow me(from an access db) pull data from an excel sheet into an access table. Thanks!
Nov 3, 2004 1 #2 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR Take a look at the DoCmd.TransferSpreadSheet method. You may also consider link a worksheet to an access table. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
Take a look at the DoCmd.TransferSpreadSheet method. You may also consider link a worksheet to an access table. Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Nov 3, 2004 Thread starter #3 ietprofessional Programmer Joined Apr 1, 2004 Messages 267 Location US Thanks PHV but I need code to get data from multiple sheets from a single workbook. Thanks! Upvote 0 Downvote
Nov 3, 2004 #4 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR And that should be a problem ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
And that should be a problem ? Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
Nov 3, 2004 Thread starter #5 ietprofessional Programmer Joined Apr 1, 2004 Messages 267 Location US DoCmd doesn't have a parameter that allows be to choose a specific sheet. Upvote 0 Downvote
Nov 3, 2004 #6 PHV MIS Joined Nov 8, 2002 Messages 53,708 Location FR But yes, the named parameter Range Use either named ranges or sheets name like Range:="Sheet2!" Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
But yes, the named parameter Range Use either named ranges or sheets name like Range:="Sheet2!" Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244