Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to declare several constants in VBA that should be accessible from the
worksheet cells. Is it at all possible? I tried several combinations of GLOBAL, PUBLIC, inside workbook/workbook_open, inside workbook/general, inside a user module/general, inside a user module/some function. Can get the value displayed in a MsgBox and the like, but whenever I try to assign it to a cell I get the #NAME error. I know I could just assign it to some hidden cell in the workbook but I thought there must be a cleaner solution... Thanks in advance! Lina |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stopping a constant variable cell from being copied. | New Users to Excel | |||
Global Array Constant | Excel Programming | |||
How do I access a "Global Variable" of one Workbook from another?? | Excel Programming | |||
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? | Excel Worksheet Functions | |||
Referring to a local or global variable or constant dynamically? | Excel Programming |