I get "subscript out of range". What's that?

G

Guest

I am setting up a database from scratch and importing from an excel
spreadsheet. I have set up tables in access and want to import named ranges
into specific tables. The first hitch is that I don't have a way in the
import wizard to specify the named ranges, even though that option is given -
the named ranges are not itemized in the box, and secondly, when I try to
import the worksheet, I get a "subscript out of range" error message.

Also, is there another way to import named ranges? I have read in my
manuals and online and in training materials that named ranges can be
imported rather than whole worksheets but there are no specific instructions
that I've seen that outline how to do that. Can anyone direct me in that
regard?
 
G

Guest

Look in VBA Help for TransferSpreadsheet. One argument is the Range
argument. You can specify which sheet and which rows and columns within the
sheet.
 
G

Guest

Where is that? I'm pretty new to this.

Klatuu said:
Look in VBA Help for TransferSpreadsheet. One argument is the Range
argument. You can specify which sheet and which rows and columns within the
sheet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top