What is the format for a ListFillRange property that needs to come from a column in a table? In my case, table is on as sheet called Parameters, the table name is CSRTable, and the column header is Name, which is also the 1st column.
Thanks!
What is the format for a ListFillRange property that needs to come from a column in a table? In my case, table is on as sheet called Parameters, the table name is CSRTable, and the column header is Name, which is also the 1st column.
Thanks!
Acts 4:12
Salvation is found in no one else, for there is no other name under heaven given to mankind by which we must be saved.
Untested but perhaps
CSRTable[Name]
Don
Please remember to mark your thread 'Solved' when appropriate.
No, afraid not. Also tried Parameters!CSRTable[Name], and it didn't work either.
For the ListFillRange of what exactly?
If it's for a combobox/listbox on a sheet then I'm afraid you might be out of luck as you can't use table notation, you would have to use the usual sheet/range reference.
If posting code please use code tags, see here.
Ok, will do. Thanks.
You could perhaps create a name that uses the table address, then use the name in the listfillrange? That should make it dynamic.
That does work! I had to create the name using Name Manager, rather than just selecting the range and naming it. Selecting the name resulted in a Refers To value of "=CSRTable[Name]", which still didn't work, so I explicitly changed it to refer to "=$A$4:$A:11", and that worked. I didn't expect it to work dynamically with table row additions/deletions, but it apparently does.
Thanks!
Does the list that appears in the listbox/combobox dynamically change when you add/delete from the table?
Yes and no. Combobox values don't automatically update unless you close and reopen the workbook. I'm sure there's a way to refresh them through code, but I'm not concerned about that with this app, as the table is an employee list, and won't change very often.
If that's what you need to do then it might be an idea to add code to populate the combobox when the workbook opens, then you could use table referencing.
No need. As I said above in response to xlnitwit, it works, and I marked the thread as solved. Thanks though.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks