Hi guys, i have been trying to resize a named range based on a combobox value
i thought something like this perhaps. but this is not working.
The combobox is part of a userform that moves advisors from eg team1 to team3, so team1 would be resize -1 as team1 is losing a member and team 3 would be +1 as they are gaining a member. Moving the advisors is working great, but i then need to resize the ranges so that they are then reflected in the combobox drop down for the next time a move is required.
the ranges are all named with managers and the advisors underneath the mangers, there are 23 named ranges, so the named range will change depending on which advisor is being moved.
is this even possible. any help would be apprecieated
Ally.
i thought something like this perhaps. but this is not working.
Code:
Range(combobox2.value).Resize(, -1).Select
The combobox is part of a userform that moves advisors from eg team1 to team3, so team1 would be resize -1 as team1 is losing a member and team 3 would be +1 as they are gaining a member. Moving the advisors is working great, but i then need to resize the ranges so that they are then reflected in the combobox drop down for the next time a move is required.
the ranges are all named with managers and the advisors underneath the mangers, there are 23 named ranges, so the named range will change depending on which advisor is being moved.
is this even possible. any help would be apprecieated
Ally.