Excel combo box linked to other excel file

Jac1020
05-10-2010, 12:48 AM
Hi All,

I will like to make a combo box in excel file A and linked data in excel file B. I have tried combo box properties ListFillRange='C:\Temp\[FileB.xls]Sheet1'!$C$2:$C$20 and not work if I put the Shee1 in file A with ListFillRange=Sheet1$C$2:$C$20 it will work, please help

Thank You.

Colin Legg
05-11-2010, 02:14 AM
Hi,

I haven't tested it but I expect that if you try to do it like that then it will only work when file B is open. You'd be better off adding a few lines of code to the userform's initialise event handler which will populate the combobox. There are examples in our Userform 101 & FAQ (http://www.xtremevbtalk.com/showthread.php?t=131000) thread.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum