View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default IsEmpty function in VSTO

Try

If Rng.Formula.Length=0 Then

where Rng is the reference to the cell.


--
Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)




"Ed White" wrote in message
...
In Excel VBA, there is a function which will tell you if a cell is empty,
e.g.
IsEmpty(ActiveCell)
but I can't find that function in VSTO. How would I determine if a
certain
cell in Excel is empty using VB in VSTO? (I'm using VS 2008 and Excel
2007).
--
Ed