Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello world,
I would like to make a VBA macro detect if a certain cell contains a fixed value or a formula. My first idea is to compare the ".Value" and ".Formula" properties and declare regard it as a formula if they are different. Is this a good approach or do you suggest a better solution? Jens |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
?[A1].HasFormula
-- Kind regards, Niek Otten Microsoft MVP - Excel "Jens Lenge" wrote in message ... Hello world, I would like to make a VBA macro detect if a certain cell contains a fixed value or a formula. My first idea is to compare the ".Value" and ".Formula" properties and declare regard it as a formula if they are different. Is this a good approach or do you suggest a better solution? Jens |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
?[A1].HasFormula
Thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to detect color? | Excel Worksheet Functions | |||
Detect Presence Formula | Excel Worksheet Functions | |||
Need Formula to detect duplicate invoices | Excel Discussion (Misc queries) | |||
How to detect if a cell is formula | Excel Programming | |||
How to detect if a cell is formula | Excel Programming |