ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Transfer ListBox items to a range (https://www.excelbanter.com/excel-programming/372561-transfer-listbox-items-range.html)

AD108

Transfer ListBox items to a range
 
What would be the best approach to transfer the values from a listbox to a
range.

I will be using a standard "last row" routine, and then pasting the values
below the last row.

Thanks in advance.



NickHK[_3_]

Transfer ListBox items to a range
 
Here's one way:
Range("A10").Range("A1:A" & ListBox1.ListCount).Value = ListBox1.List

NickHK

"AD108" bl...
What would be the best approach to transfer the values from a listbox to a
range.

I will be using a standard "last row" routine, and then pasting the values
below the last row.

Thanks in advance.





AD108

Transfer ListBox items to a range
 
Thanks for that,


"NickHK" wrote in message
...
Here's one way:
Range("A10").Range("A1:A" & ListBox1.ListCount).Value = ListBox1.List

NickHK

"AD108"

bl...
What would be the best approach to transfer the values from a listbox to

a
range.

I will be using a standard "last row" routine, and then pasting the

values
below the last row.

Thanks in advance.








All times are GMT +1. The time now is 02:05 AM.

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