JamieArvato
Technical User
I've setup code that runs on Worksheet_Deactivate, what it does is sort the data BUT.....because it is sorting on a range on the sheet that is being deactivated it goes back to that sheet and wont move to the new selected sheet and just loops like that.
Is there a way of knowing which sheet has been clicked on, storing this value then saying data sort on current sheet and go to new sheet after........?
Thanks,
Jamie.
Is there a way of knowing which sheet has been clicked on, storing this value then saying data sort on current sheet and go to new sheet after........?
Thanks,
Jamie.