Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Is there any way for me to evaluate a string variable as if it were code. For example, say I have an input string=".Font.ColorIndex = 4". Is there anyway for me to get VBA to evaluate the expression: "Selection" & string and have it run as if it were the command "Selection.Font.ColorIndex = 4"? Thanks, Andrew |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Performance Evaluation | Excel Discussion (Misc queries) | |||
Formula evaluation | New Users to Excel | |||
Options Evaluation | Excel Worksheet Functions | |||
variable not equal to expression | Excel Programming |