Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Chip it worked great.
Pete -----Original Message----- Pete, Use something like Range("Bcard2").FormulaR1C1 = _ "=IF(card2=1,""A"" ," & _ "if(card2=11,""J"" ," & _ "if(card2=12,""Q"" ," & _ "if(card2=13,""K"",card2))))" -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Pete" wrote in message ... How do you change this code: Range("Bcard2").FormulaR1C1 = _ "=IF(card2=1,""A"",if(card2=11,""J"",if (card2=12,""Q"",if (card2=13,""K"",card2))))" Into this: Range("Bcard2").FormulaR1C1 = _ "=IF(card2=1,""A"", _ if(card2=11,""J"", _ if(card2=12,""Q"", _ if(card2=13,""K"",card2))))" Without getting a complied error stating that excel expects an "end statement". Thanks . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I prevent a long string of text from wrapping in a text fil | Excel Discussion (Misc queries) | |||
Text wrapping | Excel Discussion (Misc queries) | |||
Wrapping Text | Excel Discussion (Misc queries) | |||
text wrapping when text is pasted in excel | Excel Discussion (Misc queries) | |||
I am using wrap text in excel, so why isn't all my text wrapping? | Excel Discussion (Misc queries) |