Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default listbox sizeing problem

I hav a userform with a listbox on it, sometimes my listbox seems to
get bigger and the botom of the listbox moves to the bottom of the
form, is there some locking properties that i should be doing to keep
the form the size that i make it

regards
john

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default listbox sizeing problem

A list box should never change size on its own, John. Aside from code
changing the height of the listbox or changing the Zoom of the userform
itself, I don't know why that would happen.

--
Jim
wrote in message
ups.com...
|I hav a userform with a listbox on it, sometimes my listbox seems to
| get bigger and the botom of the listbox moves to the bottom of the
| form, is there some locking properties that i should be doing to keep
| the form the size that i make it
|
| regards
| john
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default listbox sizeing problem

I am experiencing a similar problem, but in my case the listbox is reduced in
height after it is populated. I too am searching for a solution.

" wrote:

I hav a userform with a listbox on it, sometimes my listbox seems to
get bigger and the botom of the listbox moves to the bottom of the
form, is there some locking properties that i should be doing to keep
the form the size that i make it

regards
john


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default listbox sizing problem

I am also experiencing a similar problem. Specifically, I have a listbox
where the height and width are modified after the list is repopulated. The
resizing only occurs when the zoom setting of the worksheet is other than
100%. If the zoom is less than 100%, the listbox will shrink on repopulation,
and if the zoom is greater than 100% it will grow in size on repopulation.
Moreover, it happens specifically when the list box is repopulated, not just
when I change the ListFillRange property. (For example, I have the listbox
ListFillRange property set to a range of cells on another worksheet. When
those cell values change, the listbox's list values change, and - if the
worksheet is zoomed at other than 100% - the listbox size is altered. I have
not yet determined any specific pattern to or "rule" to the alteration in
size, but it is clearly not simply trying to fit the size to the list
contents.

"mrwaller" wrote:

I am experiencing a similar problem, but in my case the listbox is reduced in
height after it is populated. I too am searching for a solution.

" wrote:

I hav a userform with a listbox on it, sometimes my listbox seems to
get bigger and the botom of the listbox moves to the bottom of the
form, is there some locking properties that i should be doing to keep
the form the size that i make it

regards
john


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default listbox sizeing problem


Dear all, try this...

Type this in userform intialize procedu

Code
-------------------

Private Sub UserForm_Initialize()

listBox1.IntegralHeight = False
listBox2.IntegralHeight = False

end sub

-------------------


HTH
ilyaskaz

--
ilyaskaz
-----------------------------------------------------------------------
ilyaskazi's Profile: http://www.excelforum.com/member.php...fo&userid=2396
View this thread: http://www.excelforum.com/showthread.php?threadid=46994



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
Listbox Problem browie Excel Programming 5 August 22nd 05 02:03 PM
Listbox problem browie Excel Discussion (Misc queries) 1 August 22nd 05 11:44 AM
Listbox problem browie Excel Programming 1 August 22nd 05 11:44 AM
Listbox Problem [email protected] Excel Programming 4 August 19th 04 06:47 PM
Listbox problem Stuart[_5_] Excel Programming 6 August 18th 03 09:14 PM


All times are GMT +1. The time now is 10:05 PM.

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

About Us

"It's about Microsoft Excel"