Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default ListBox question

HI,

I have a listbox in a userform.... the listbox contains a list of reports...
then the user selects one and press OK to download the selected report from
a server.

I would like to have the user the chance to select and be able to open more
than one report at one time?


the reports name list is in column A.


thanks,





  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ListBox question

set the multiselect property to true.

With listbox1
for i = 0 to .Listcount -1
if .selected(i) then
sStr = sStr & .List(i,0) & vbNewLine
end if
Next
End With
msgbox sStr

--
Regards,
Tom Ogilvy

"Cesar Zapata" wrote in message
...
HI,

I have a listbox in a userform.... the listbox contains a list of

reports...
then the user selects one and press OK to download the selected report

from
a server.

I would like to have the user the chance to select and be able to open

more
than one report at one time?


the reports name list is in column A.


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
ListBox Question LearningExcel Excel Worksheet Functions 0 December 30th 05 05:46 PM
Listbox Question Greg B Excel Discussion (Misc queries) 1 March 9th 05 02:17 PM
Listbox Question Greg B Excel Discussion (Misc queries) 0 March 9th 05 12:46 AM
Listbox Question Greg B Excel Worksheet Functions 0 March 9th 05 12:46 AM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM


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