T O P I C R E V I E W |
muh |
Posted - 06/25/2021 : 08:06:34 AM Is there any way to create a project-scope range variable? Doc says that project level variables are created when un-declared double, string or dataset variable is used (rather strange way of doing things). But this does not work with range variables, which is pity, since I have couple of ranges, which I use as functions. Workaround is to put them in ProjectEvents.ogs with @glob qualifier; but is there a straight way of doing this? |
4 L A T E S T R E P L I E S (Newest First) |
cpyang |
Posted - 06/25/2021 : 3:32:11 PM We are adding named range for next version (2022) and it will do exactly that, to define a named range with scope for project. Named range scope will be Sheet, Book, Project.
CP
|
YimingChen |
Posted - 06/25/2021 : 1:45:55 PM Right, this is the only way to go.
|
muh |
Posted - 06/25/2021 : 10:06:15 AM This _is_ my workaround. Exactly what I wrote above. |
YimingChen |
Posted - 06/25/2021 : 08:51:38 AM Can you just define the range variables under the AfterOpenDoc section in ProjectEvents.ogs? Then each time the project is loaded, the script under this section gets executed to create the range variables.
James |