ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   (Worksheet)Listbox1.additem = (Form)Listbox1.value ?? (https://www.excelbanter.com/excel-programming/275917-re-worksheet-listbox1-additem-%3D-form-listbox1-value.html)

Tom Ogilvy

(Worksheet)Listbox1.additem = (Form)Listbox1.value ??
 
How did you fill the listbox?

ActiveSheet.OleObjects("Listbox1").ListFillRange =
Userform1.Listbox1.RowSource

or
ActiveSheet.OleObjects("Listbox1").Object.List = Userform1.Listbox1.List

are some possibilities.

--
Regards,
Tom Ogilvy


"tj" wrote in message
om...
How can I transfer the items in a listbox that I created on a form to
a listbox that I have created on the worksheet?

Thurman





All times are GMT +1. The time now is 04:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com