Home |
Search |
Today's Posts |
#7
![]() |
|||
|
|||
![]()
Thanks! This is exactly what I needed! Works great!
BJ "Soo Cheon Jheong" wrote: Hi, - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Option Explicit Sub TEST() If TypeName(Selection) < "Range" Then GoTo e: If Selection.Areas.Count 1 Then GoTo e: With Selection.Columns(1) .NumberFormat = "General" .FormulaR1C1 = "=IF(RC[-1]=10,""Hello"",""Goodbye"")" Application.Calculate .Value = .Value End With e: End Sub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- Regards, Soo Cheon Jheong |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using INDIRECT function to specify source data | Charts and Charting in Excel | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
referencing named formula using INDIRECT function | Excel Worksheet Functions | |||
Sum Indirect function through multiple sheets | Excel Discussion (Misc queries) | |||
INDIRECT function question | Excel Worksheet Functions |