Hi,
I need to take a specific action when a cell has an actual formula in it versus when it just has a "value". Is there a procedure or command which will allow me to identify if a certain cell has a "formula" (like =sum(a1: a5) ) or just a value.
Hi,
I need to take a specific action when a cell has an actual formula in it versus when it just has a "value". Is there a procedure or command which will allow me to identify if a certain cell has a "formula" (like =sum(a1: a5) ) or just a value.
Last edited by welchs101; 12-28-2008 at 10:18 AM.
Hi,
The VBA instruction
will return whatever's in A1, and hence you could use an IF instruction to test the first character. i.e.![]()
Please Login or Register to view this content.
HTH![]()
Please Login or Register to view this content.
Hi,
Check for HasFormula property, for example:
Regards.![]()
Please Login or Register to view this content.
Welcome to: http://www.exceldigest.com/myblog/
"Excel help for the rest of us"
Thanks Richard and SE ........both of these are good inputs. Thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks