Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
From the Remarks section of the help files for the Const Statement...
"You can't use variables, user-defined functions, or intrinsic Visual Basic functions (such as Chr) in expressions assigned to constants." -- Rick (MVP - Excel) "slarbie" wrote in message ... In all the modules/procedures of my project, I'd like to be able to refer to a specific named range as a constant. I imagined this: Public const MyRange as Range = Range("MyRange") at the top of a module, but it doesn't work. Can someone help with the right way to do what I'm trying to get at here? Thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you update a public constant | Excel Programming | |||
range * constant | Excel Programming | |||
Public constant in many workbooks | Excel Programming | |||
Public Function IsStrikeThrough(rng As Range) | Excel Programming |