karinfromsweden
New Member
- Joined
- Oct 30, 2018
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
Hey all,
Remember I did this years ago, but now I cant get it to work, nor find a similar question in the forum. I'm generating a list where the cell content change a lot from row to row depending on the user input. The list is mainly generated via validation lists, sometimes there's a lot of text, sometimes just a few words. What I need is a macro that works continuously, so if a longer value is selected in the list, the row should automatically get higher, but if its changed to a shorter value, the row should shrink.
Using the "Format > Autofit" doesn't work seamlessly, it "sticks" to one height, and if the cell changes to another size, the command has to be repeated. I want the macro to be running in the background and do this automatically.
Could anyone please help?
Many thanks in advance
/Karin
Remember I did this years ago, but now I cant get it to work, nor find a similar question in the forum. I'm generating a list where the cell content change a lot from row to row depending on the user input. The list is mainly generated via validation lists, sometimes there's a lot of text, sometimes just a few words. What I need is a macro that works continuously, so if a longer value is selected in the list, the row should automatically get higher, but if its changed to a shorter value, the row should shrink.
Using the "Format > Autofit" doesn't work seamlessly, it "sticks" to one height, and if the cell changes to another size, the command has to be repeated. I want the macro to be running in the background and do this automatically.
Could anyone please help?
Many thanks in advance
/Karin