lockarde
Board Regular
- Joined
- Oct 23, 2016
- Messages
- 77
Good morning all,
I have a macro that runs when a user double-clicks a cell. Among other things, this macro opens a userform. Is there a way to make the user form open to the right of the double-clicked cell every time? The location of this cell moves down the sheet as the user activates the macro (macro inserts 4 rows below, so for example: First double click, the cell is A6, rows are inserted, and next double click location would be A10, and so on. I thought I might be able to tie the userform location to Selection, but that doesn't seem to be supported?
I have a macro that runs when a user double-clicks a cell. Among other things, this macro opens a userform. Is there a way to make the user form open to the right of the double-clicked cell every time? The location of this cell moves down the sheet as the user activates the macro (macro inserts 4 rows below, so for example: First double click, the cell is A6, rows are inserted, and next double click location would be A10, and so on. I thought I might be able to tie the userform location to Selection, but that doesn't seem to be supported?