jerry12302
Active Member
- Joined
- Apr 18, 2005
- Messages
- 456
- Office Version
- 2010
- Platform
- Windows
I use Excel 2010, I have been searching for a solution to determine whether a cell contains a formula of any kind, or is just hard input (value or text.)
Isformula is not included in Excel 2010, nor is any use of Hasformula.
I tried suggested UDF solutions, such as
Function IsFormula(cell_ref As Range)
IsFormula = cell_ref.HasFormula
End Function
None have worked, I get a #NAME? Error every time, and my workbook is saved as an xlsm, macro enabled. I placed the Function in a module, under General.
Has anyone found a solution that works in Excel 2010???
Isformula is not included in Excel 2010, nor is any use of Hasformula.
I tried suggested UDF solutions, such as
Function IsFormula(cell_ref As Range)
IsFormula = cell_ref.HasFormula
End Function
None have worked, I get a #NAME? Error every time, and my workbook is saved as an xlsm, macro enabled. I placed the Function in a module, under General.
Has anyone found a solution that works in Excel 2010???