Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default 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 !


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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 !



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default 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 !



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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 !




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Docking Project Explorer, Properties window and Code window in VBE jayray Setting up and Configuration of Excel 2 March 27th 07 04:42 PM
how to declare local variables for Excel.Workbook at runtime. Daffo Excel Discussion (Misc queries) 0 October 9th 06 12:19 PM
LISTBOX PROPERTIES browie Excel Discussion (Misc queries) 1 August 22nd 05 04:08 PM
Use ListBox properties in This Workbook cristio26 Excel Programming 1 October 20th 04 03:48 PM
Global vs Local variables Ken Loomis Excel Programming 1 October 12th 04 05:03 AM


All times are GMT +1. The time now is 01:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"