Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default listbox assistance

i have some listbox questions and would like some input.

i am changing some values in a range of data. i want to put the cell value in a
listbox along with 2 other cell values on the same row.

i get it to work, it just doesn't look too good, in my opinion.

when the listbox has a static height, there may only be a couple entries and it
has a lot of white space.
sometimes i have a scroll bar at the bottom, but there is only 2 numbers in the
box and the width is more than wide enough. why?
if i put the 3 values in 1 listbox, then you can't tell where the different cell
values start and end.

what i am doing is i execute the code, when it finds the number to change i add
the 3 cells to the different listboxes.
when the code is done, i then show the form with the listbox values.

should i use a public array and then pop the userform and populate it when it's
activated?

just looking for some guidance here.

thanks

--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default listbox assistance

Gary, it sounds like you might need to revisit your list box properties in
the design mode and set it to one column and increase the width enough to
eliminate the horizontal scroll bar. I am not sure it makes a lot of
difference when you load the data.

"Gary Keramidas" wrote:

i have some listbox questions and would like some input.

i am changing some values in a range of data. i want to put the cell value in a
listbox along with 2 other cell values on the same row.

i get it to work, it just doesn't look too good, in my opinion.

when the listbox has a static height, there may only be a couple entries and it
has a lot of white space.
sometimes i have a scroll bar at the bottom, but there is only 2 numbers in the
box and the width is more than wide enough. why?
if i put the 3 values in 1 listbox, then you can't tell where the different cell
values start and end.

what i am doing is i execute the code, when it finds the number to change i add
the 3 cells to the different listboxes.
when the code is done, i then show the form with the listbox values.

should i use a public array and then pop the userform and populate it when it's
activated?

just looking for some guidance here.

thanks

--


Gary




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default listbox assistance

thanks, i set the columnwidth property and that seems to have fixed the scroll
bar issue.

--


Gary


"JLGWhiz" wrote in message
...
Gary, it sounds like you might need to revisit your list box properties in
the design mode and set it to one column and increase the width enough to
eliminate the horizontal scroll bar. I am not sure it makes a lot of
difference when you load the data.

"Gary Keramidas" wrote:

i have some listbox questions and would like some input.

i am changing some values in a range of data. i want to put the cell value in
a
listbox along with 2 other cell values on the same row.

i get it to work, it just doesn't look too good, in my opinion.

when the listbox has a static height, there may only be a couple entries and
it
has a lot of white space.
sometimes i have a scroll bar at the bottom, but there is only 2 numbers in
the
box and the width is more than wide enough. why?
if i put the 3 values in 1 listbox, then you can't tell where the different
cell
values start and end.

what i am doing is i execute the code, when it finds the number to change i
add
the 3 cells to the different listboxes.
when the code is done, i then show the form with the listbox values.

should i use a public array and then pop the userform and populate it when
it's
activated?

just looking for some guidance here.

thanks

--


Gary






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
userform listbox cannot get listbox.value to transfer back to main sub [email protected] Excel Programming 1 May 17th 06 09:44 PM
avoiding duplicates in listbox (added from another listbox) KR Excel Programming 4 March 14th 06 08:17 PM
VBA: Creating listbox similar to the one in Pivot table (Listbox+Checkbox) modjoe23 Excel Programming 3 August 18th 05 02:35 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Is refreshing listbox rowsource in listbox click event possible? Jeremy Gollehon[_2_] Excel Programming 4 September 25th 03 06:45 PM


All times are GMT +1. The time now is 02:57 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"