Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Populating a worksheet

Hi all,

I am a newbie to Excel VBA. I have a userform with two listboxes.
Listbox A is populated from Sheet 3 of the Excel spreadsheet. ListBox B
GETS populated by selecting members in ListBox A. How would I then
populate whatever is in ListBox B back onto Sheet 1 (in a column)?

Hope this makes sense,

Audrey



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Populating a worksheet

Assume a single column Listbox

With Worksheets("Sheet1")
.Range("A1").Resize(ListboxB.Listcount,1).Value =
ListBoxB.List
End With

--
Regards,
Tom Ogilvy

"Audrey Ng" wrote in message
...
Hi all,

I am a newbie to Excel VBA. I have a userform with two listboxes.
Listbox A is populated from Sheet 3 of the Excel spreadsheet. ListBox B
GETS populated by selecting members in ListBox A. How would I then
populate whatever is in ListBox B back onto Sheet 1 (in a column)?

Hope this makes sense,

Audrey



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Populating a second worksheet Tealady Excel Discussion (Misc queries) 4 October 1st 08 07:31 PM
Automatically Populating a Worksheet TS Excel Worksheet Functions 2 August 1st 08 11:19 PM
Populating a calendar from another worksheet chenning Excel Worksheet Functions 0 August 22nd 07 05:20 PM
Populating one worksheet from another Whitman Excel Worksheet Functions 0 July 24th 06 09:33 PM
populating a worksheet anny Excel Worksheet Functions 7 January 27th 06 02:09 AM


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