RegEx is still a world of mystery to me but I use a function cotaining RegEx which could be helpfully modified
(credit ExtendOffice)
The function returns a string of cell references separated by commas
I would prefer 2 functions each returning a sub-set of those references
- specifically ranges AND individual cells
- the string should include sheet references if in the original formula
Examples
Formula:Please Login or Register to view this content.
Function returns: A1, AA1:AA10, $AA1:$AA10, $AA$1:$XEP$20000
Required RANGES: AA1:AA10, $AA1:$AA10, $AA$1:$XEP$20000
Required CELLS: A1
Formula:Please Login or Register to view this content.
Function returns: DataTab!A1, DataTab!AA1:AA10, DataTab!$AA1:$AA10, DataTab!$AA$1:$XEP$20000
Required RANGES: DataTab!AA1:AA10, DataTab!$AA1:$AA10, DataTab!$AA$1:$XEP$20000
Required CELLS: DataTab!AA1
My current workaround is to manipulate the resultant string, but it would be tidier if each function generated the string required.
Thank you
Please Login or Register to view this content.
Bookmarks