I have a Basic macro that currently works on the contents (string value) of the selected cell. I would like to extend this to check if a cell is currently being edited, and, if so, just work on the selected part of the cell, i.e. of the text or formula. So how can I do these two things?
- Check for edit mode
- Access the currently selected part of the formula