Hi,
I would like to, on every change of data in range("C7:P27"), change height of row per data to fit inside.
I am using array formula:
This formula grabs data from another sheet and with Form ScrollBar (non activeX) I can dynamically change values in cell.
I though of a way Worksheet_Change event, but I dont know how to write it in VBA.
Standard Wrap Text does not work in this case. -> It has to be updated on every change, because data goes up/down in same column per array formula.
Does anyone have idea how it could be done?
I would like to, on every change of data in range("C7:P27"), change height of row per data to fit inside.
I am using array formula:
Code:
=IF(IFERROR(INDEX(Database!A:A,MATCH(ROWS($1:1)+$B$7-1,Database!$P:$P,0)),"")=0,"",IFERROR(INDEX(Database!A:A,MATCH(ROWS($1:1)+$B$7-1,Database!$P:$P,0)),""))
This formula grabs data from another sheet and with Form ScrollBar (non activeX) I can dynamically change values in cell.
I though of a way Worksheet_Change event, but I dont know how to write it in VBA.
Standard Wrap Text does not work in this case. -> It has to be updated on every change, because data goes up/down in same column per array formula.
Does anyone have idea how it could be done?