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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import data from more than one range

Status
Not open for further replies.

JulieS

MIS
Nov 23, 2000
48
CA
I am trying to import data from an excel spread sheet into Access. The problem is that the data is in more than one range. So in my macro, I have:

sheet1!A1:J3

but I do not know the syntax to say:

sheet1!A1:B3, sheet1!E4:F7

(the error message when i type in the above syntax is:
"the object 'sheet1$A1:B3, sheet1$E4:F7' cannot be found".

Thank you for your help,
Julie

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top