Hi ,
I want a VBA code for dynamically selecting entire last active column.
Actual problem:-
I use the following index match formula
=IFERROR(INDEX('PLB - 7JY2 and L9AI'!BN:BN,MATCH('Summary Airlinewise'!$B:$B,'PLB - 7JY2 and L9AI'!$A:$A,0)),0)
Column BN:BN is the last active column and it may change from day to day. My VBA code always selects the BN column as it is not dynamic. I always want the last active column to be my return value. Can somebody help me to solve this?
I want a VBA code for dynamically selecting entire last active column.
Actual problem:-
I use the following index match formula
=IFERROR(INDEX('PLB - 7JY2 and L9AI'!BN:BN,MATCH('Summary Airlinewise'!$B:$B,'PLB - 7JY2 and L9AI'!$A:$A,0)),0)
Column BN:BN is the last active column and it may change from day to day. My VBA code always selects the BN column as it is not dynamic. I always want the last active column to be my return value. Can somebody help me to solve this?