Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have tried the suggestion below, but it still doesnt work. ------------------------------------------------------------------------- ya, i tried tat, VBA would give me a "expected: line nubmer or label or statement or end of statement" compile error. i guess its bcos, by using double quotes, we break the formula up into 3 parts. "Chip Pearson" wrote in message ... Use double quotes instead of apostrophes. Range("N2").FormulaR1C1 = "=HOUR(RC[-1]" & ":" & MINUTE(RC[-1])" -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com one minor question. how do you include special characters in formula? i am tryign to achieve something like 9: 30. with the semi-colon separating hours and mins. Range("N2").FormulaR1C1 = "=hour(rc[-1])& ':' &minute(rc[-1])" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to Remove Special Characters | Excel Discussion (Misc queries) | |||
Formulas that include alpha and numeric characters | Excel Worksheet Functions | |||
Importing Ascii file to Excell won't include Null Characters | Excel Discussion (Misc queries) | |||
special characters | Excel Worksheet Functions | |||
special characters | Excel Programming |