Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi, hope someone out there can help me with this problem.
I have a simple formula: =CONCATENATE((MID(A1,4,3)),"_",C1,"_",((IF(MID(A1, 7,1) "A","Activity","List")))) and i'd like that formula to be contained in a variable so that i can use the formula on many worksheets within a workbook. The problem that i'm coming across is to do with all the quotation marks. Excel won't let me simply write: formula1 = CONCATENATE((MID(A1,4,3)),"_",C1,"_",((IF(MID(A1,7 ,1) "A","Activity","List")))) Dows anyone have any suggestions about how to overcome this - maybe by splitting the formula up into smaller components??? any helps greatly apprecieted. chris |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
writing an formulae with variable parameters | Excel Worksheet Functions | |||
Writing variable from a Macro to a Cell | Excel Programming | |||
writing a variable to a cell | Excel Programming | |||
writing a variable to a cell | Excel Programming |