Skip to content
REFERENCE

U.RANGE_NAME

Summary

Returns the friendly name of the specified range or RANGE_REF ID

Syntax

=U.RANGE_NAME(range, [add_quotes])

Parameters

Parameter Required Description
range Yes The range or RANGE_REF ID whose friendly name will be returned. Pass as a string in the form "used_range()" to return the friendly name of the used range of the referenced worksheet
[add_quotes] No If set to TRUE then single quotes will be added around the qualified worksheet name if Excel would do the same when referenced in a formula

Behavior

The documented public interface is supported by the current U Add-in source signature and the maintained Usage Examples workbook. Optional parameters are shown in square brackets in the syntax above; omit the brackets when entering a formula.

Return Value

Returns the function result or action status described by the formula and parameters above. The maintained sources do not define a narrower, stable return contract for this function.

Examples

=U.RANGE_NAME(B228)

Notes

  • Formula examples are preserved from maintained workbook usage and normalized to the current U. prefix.
  • Complete formulas demonstrate working patterns; they do not imply that undocumented option values are supported.
  • Where maintained sources do not specify every accepted value, default, or error message, this page does not infer one.
  • For functions that perform actions, use a visible trigger or supported block/throttle parameter to avoid unintended repetition during recalculation.