vijehspaul
Member
Hello Masters,
In my excel workbook, I have defined many named ranges. Most of these named ranges are dynamic in nature based on user inputs.
Is there any way to find and use 'usedrange' of a named range in a form?
I will explain:
range("A1:A10") named as say 'index'
The range will get updated dynamically. meaning sometime A1:A3 may have data, or A1:A9 may contain data.
There is a ComboBox in a form and wanted to set the .rawsource as usedrange of 'index'
so that the drop-down should show only cells that have data as list.
something like;
with ComboBox1
.rowsource= activeworkbook.names("index").usedrange
(couldn't find this syntax though.... )
end with
please advice.
In my excel workbook, I have defined many named ranges. Most of these named ranges are dynamic in nature based on user inputs.
Is there any way to find and use 'usedrange' of a named range in a form?
I will explain:
range("A1:A10") named as say 'index'
The range will get updated dynamically. meaning sometime A1:A3 may have data, or A1:A9 may contain data.
There is a ComboBox in a form and wanted to set the .rawsource as usedrange of 'index'
so that the drop-down should show only cells that have data as list.
something like;
with ComboBox1
.rowsource= activeworkbook.names("index").usedrange
(couldn't find this syntax though.... )
end with
please advice.