View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Datedif Function???

In article ,
Stan Brown wrote:

Just wondering -- Chip says "You can't use DATEDIF in VBA code."
Couldn't you do it with EVALUATE, though? I thought EVALUATE would
work with any worksheet function.


Yes, you can use Evaluate...

Or you could use the somewhat different DateDiff VBA function