ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   RUN Time error 9 (https://www.excelbanter.com/excel-programming/296120-run-time-error-9-a.html)

Alisha[_2_]

RUN Time error 9
 
Run time error 9
subscript out of range

does ne1 kno wat this means?

Chip Pearson

RUN Time error 9
 
Alisha,

This error typically occurs when you are attempting to retrieve,
by name, an item from a collection, and no item by that name
exists. For example, the following code will raise an error 9 if
there is no sheet named 'Sheet4'.

MsgBox Worksheets("Sheet4").Name

You might want to post the code that is causing the error.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Alisha" wrote in message
...
Run time error 9
subscript out of range

does ne1 kno wat this means?





All times are GMT +1. The time now is 03:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com