Subscript Error

  • Thread starter Thread starter Lacys
  • Start date Start date
L

Lacys

Could anyone tell me what "subscript out of range" means.
It's comming up where I have

Total=0
then a for loop to figure new total. Could someone please
help.

Thanks,
Lacy
 
workbooks("nonexistentworkbookname.xls")

would give you a subscript out of range error. So using a non existent
index into a collection would be a prime cause for this type of error.
 

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

Back
Top