Silverjman
Board Regular
- Joined
- Mar 19, 2014
- Messages
- 110
How would I use/apply the same VBA code across a worksheet to perform an IndexMatch whose inputs would be populated by it's relative location on a worksheet.
i.e., Take the text on ?ActiveCell? row of the named range in column Z ?is a VBA INDIRECT necessary? and then ( , 1 or 2 or 3 depending on the date/relative position of the cell on the ActiveSheet for the range, that is is the 1st or 40th column in a named range on another worksheet
Asset Name on ?ActiveCell? row on same worksheet in column C
The goal here is to use this VBA code as a BeforeDoubleClick event to let the user drilldown to the source of the numbers, because, given the need for speed I've placed IFs in front of the respective SUMIFS.
I realise that this is a poorly structured question, but I've been googling it for awhile now and can't find a way to tighten it up.
i.e., Take the text on ?ActiveCell? row of the named range in column Z ?is a VBA INDIRECT necessary? and then ( , 1 or 2 or 3 depending on the date/relative position of the cell on the ActiveSheet for the range, that is is the 1st or 40th column in a named range on another worksheet
Asset Name on ?ActiveCell? row on same worksheet in column C
The goal here is to use this VBA code as a BeforeDoubleClick event to let the user drilldown to the source of the numbers, because, given the need for speed I've placed IFs in front of the respective SUMIFS.
I realise that this is a poorly structured question, but I've been googling it for awhile now and can't find a way to tighten it up.