![]() |
what does 'Subscript Out of range' mean??
|
what does 'Subscript Out of range' mean??
Hi Gary
For example if the sheet not exist you will see this error Sheets("dfdsf").Select -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Gary" wrote in message ... |
what does 'Subscript Out of range' mean??
Ron has given one example of when you would see that error. There are other
conditions that will generate it. Generally speaking, if you attempt to reference a member of a collection or an array that does not exist, you will get that error. Another example: Dim anyArray(1 To 100) As String Dim myElement As String myElement = anyArray(101) ' will generate the same error. "Gary" wrote: |
All times are GMT +1. The time now is 05:40 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com