'Return name of named range for any given cell inside onEdit(e) [duplicate]

I can't find any code to get started on this. Here is what I want to do.

  1. Change value of a cell, let's say "A1"
  2. Capture that change inside onEdit(e)
  3. Get the name of the named range that that "A1" is inside
  4. Use the name of the named range in a Switch

Step 3 is what I don't know how to get started on.

All help appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source