largeselection
Active Member
- Joined
- Aug 4, 2008
- Messages
- 358
So this is kind of an interesting one for me...
Essentially I have some cells which have data validation referencing a named range. The named range is on another worksheet and consists of Cube Members. I have a bunch of cube functions which reference the selected cube member from the data validation cell.
I created a userform to try and make the selection of a bunch of parameters more simple and one of them is this value for the data validation cell. The issue that I'm having is that while my userform combobox does reference the named range (and thus the cube member list) when I pass it to the worksheet in the data validation cell I'm passing it as a string (cell.value = combobox.value) and it no longer is representing that as a selection from the named range of cube members...and thus the cube functions cease to function.
The question I have - is how can I use VBA to select a specific value from a data validation cell (because I think I need to select it from the data validation list rather than pasting the value of the title since it is a cube member). I've tried recording while selecting a member from the data validation list, but all that leaves me with is "Cell.select" with no indication that I've made a selection or changed the value in that cell. Is this possible?
Thanks in advance!
Essentially I have some cells which have data validation referencing a named range. The named range is on another worksheet and consists of Cube Members. I have a bunch of cube functions which reference the selected cube member from the data validation cell.
I created a userform to try and make the selection of a bunch of parameters more simple and one of them is this value for the data validation cell. The issue that I'm having is that while my userform combobox does reference the named range (and thus the cube member list) when I pass it to the worksheet in the data validation cell I'm passing it as a string (cell.value = combobox.value) and it no longer is representing that as a selection from the named range of cube members...and thus the cube functions cease to function.
The question I have - is how can I use VBA to select a specific value from a data validation cell (because I think I need to select it from the data validation list rather than pasting the value of the title since it is a cube member). I've tried recording while selecting a member from the data validation list, but all that leaves me with is "Cell.select" with no indication that I've made a selection or changed the value in that cell. Is this possible?
Thanks in advance!