Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
to avoid being tied to a XML layout I identified each column as a Constant
Global Const CTrack1BD1 = "A" Global Const CTrack1BD2 = "B" Global Const CTrack2BD1 = "C" Global Const CTrack2BD2 = "D" and in my code I simply use eg range(CTrack1BD1 & counter) = .... However now I want to use another cell value to slect the right Column so cell "contains string "XXX2BD1" My ideas was to use TrackColumn = "CTrack" & right("XXX2BD1",4) followed by range("z1") = range( TrackColumn & a) however the TrackColumn remains a sting and is not "replaced" by the Const value "C" any pointer would be much appriciated Ron B |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Convert to string help | Excel Discussion (Misc queries) | |||
convert a string to range? | Excel Worksheet Functions | |||
Convert Date to STring | Excel Discussion (Misc queries) | |||
How to convert string to a date | Excel Worksheet Functions | |||
Convert Date to String | Excel Programming |