ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   conditional copy data from workbook to another workbook (https://www.excelbanter.com/excel-programming/311648-conditional-copy-data-workbook-another-workbook.html)

Chris Garrett

conditional copy data from workbook to another workbook
 
I have book1 with 12 sheets and book2 with 1 sheet
on each sheet in book1 i have a combo box which i use to select that sheet
as the one i would like to copy from

I would like to use a combo box to select which sheet to copy data from in
book1 to sheet1 in book2.

I am trying to use a select case statement in the combobox.chnage() sub, but
i have come to a stand-still trying to figure out how to get the file and
sheet reference right in VB.





All times are GMT +1. The time now is 11:33 PM.

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