ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   XL 2003: ListBox ListCount (and other) properties missing from Local Variables window (https://www.excelbanter.com/excel-programming/383238-xl-2003-listbox-listcount-other-properties-missing-local-variables-window.html)

Michel S.

XL 2003: ListBox ListCount (and other) properties missing from Local Variables window
 
Hello !

As said in the subject, I was tracing some code and found the
..ListCount property is missing when expanding a listbox in the local
variables window; same for .ListIndex.

Entering ? lst.ListCount in the immediate window gives the correct
value.

Is this a known problem ? Is there a reason that could explain this
situation ?

Thanks !



Tom Ogilvy

XL 2003: ListBox ListCount (and other) properties missing from Lo
 
Is this a known problem ?
What's the problem?

Perhaps in the context you are looking in, those properties are not defined.

--
Regards,
Tom Ogilvy


"Michel S." wrote:

Hello !

As said in the subject, I was tracing some code and found the
..ListCount property is missing when expanding a listbox in the local
variables window; same for .ListIndex.

Entering ? lst.ListCount in the immediate window gives the correct
value.

Is this a known problem ? Is there a reason that could explain this
situation ?

Thanks !




Michel S.

XL 2003: ListBox ListCount (and other) properties missing from Lo
 
May I presume that if I type ? lst.ListCount in the immediate window
and get the correct number, the property *is defined* and I'm in a
context where it *is in scope* ?

Tom Ogilvy a exprimé avec précision :
Is this a known problem ?

What's the problem?

Perhaps in the context you are looking in, those properties are not defined.

--
Regards,
Tom Ogilvy

"Michel S." wrote:

Hello !

As said in the subject, I was tracing some code and found the
..ListCount property is missing when expanding a listbox in the local
variables window; same for .ListIndex.

Entering ? lst.ListCount in the immediate window gives the correct
value.

Is this a known problem ? Is there a reason that could explain this
situation ?

Thanks !




Tom Ogilvy

XL 2003: ListBox ListCount (and other) properties missing fro
 
Apparently you can't assume anything. Wasn't that your original problem
which still begs whether there is a problem?

--
Regards,
Tom Ogilvy


"Michel S." wrote:

May I presume that if I type ? lst.ListCount in the immediate window
and get the correct number, the property *is defined* and I'm in a
context where it *is in scope* ?

Tom Ogilvy a exprimé avec précision :
Is this a known problem ?

What's the problem?

Perhaps in the context you are looking in, those properties are not defined.

--
Regards,
Tom Ogilvy

"Michel S." wrote:

Hello !

As said in the subject, I was tracing some code and found the
..ListCount property is missing when expanding a listbox in the local
variables window; same for .ListIndex.

Entering ? lst.ListCount in the immediate window gives the correct
value.

Is this a known problem ? Is there a reason that could explain this
situation ?

Thanks !






All times are GMT +1. The time now is 01:18 PM.

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