Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I store some values in "Names" EG Names "Site1" to "Site10" store 10 locations such as "Site1" = Bolton "Site2" = Chorley Etc I can retrieve them like this Sub SetNames() Dim Ctr as Byte For Ctr = 1 to 10 Range("A" & Ctr) = Application.Evaluate("Site" & Ctr) Next End Sub I have tried storing the values in Constants but I cannot retrieve them in the same way as shown above. I have to write a seperate line of code for each Constant. Please could anyone show me a way to use a group of 10 Constants in the same way as I have used the 10 values stored in Names. Thankyou in anticipation -- Roger |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
xl constants | Excel Programming | |||
not sure on constants | Excel Programming | |||
constants | Excel Discussion (Misc queries) | |||
constants | Excel Programming |