View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
John Fuller John Fuller is offline
external usenet poster
 
Posts: 40
Default Test if Function is Run from worksheet or from VBA

Try commenting out the function and see if you get a code error or bad
references.

Andibevan wrote:
Is there any way I can test whether a function has been called because it is
used in a cell, or whether it is called from code?