Hi All
I've got a list of users within a sheet. The sheet is split vertically in two. So the users are in column L with password, nickname etc through to column P. They start from row 6. So the first user is in cell L6.
A combo box (selectuser) shows all the users from cell L6 to the last user on sheet "Setup". This works fine.
I've got my combo box linked to other text fields so when you select a user, it displays their nickname in the nickname field etc.
I have a delete button on my userform, which, when clicked, deletes the user.
If I use the following formula, it clears the cells from the row selected based on the selection in the combo box. However when you then load up the userform again, it loads all users fine on selecting from the combo box until you click on a user that was below the one you just removed. It also leaves those cells blank rather than just deleting them.
So I need to work out how to delete the cells and shift the ones below up a row, based on the combo box selection.
I tried this:
However I get an error saying that there are too many arguments for the range. So I need to figure out how to select cells L,M,N,O,P for the selected row based on the combo box, delete them, and shift the cells below up.
Does anyone know how I can do this?
Thanks
Bookmarks