ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Populating a range (https://www.excelbanter.com/excel-programming/302880-populating-range.html)

Nigel Bennett

Populating a range
 
When a user selects an item from a list box I would like
it to go and select and range of numbers from a sheet and
insert it in the box, I tried doing this

Sheets("Book vs Plan").Range("d50:o50") = Sheets
("plan").Range("d4:o4")

but that failed, no error messages but no data either.

Can someone help me with the correct syntax

Thanks


Vasant Nanavati

Populating a range
 
Perhaps if you explain your problem a little more clearly ...

--

Vasant

"Nigel Bennett" wrote in message
...
When a user selects an item from a list box I would like
it to go and select and range of numbers from a sheet and
insert it in the box, I tried doing this

Sheets("Book vs Plan").Range("d50:o50") = Sheets
("plan").Range("d4:o4")

but that failed, no error messages but no data either.

Can someone help me with the correct syntax

Thanks





All times are GMT +1. The time now is 10:00 PM.

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