View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] rtrivgreg@yahoo.com is offline
external usenet poster
 
Posts: 1
Default trying to get formula in cell

Hi,

My call to xlfGetCell is consistently returning 2 (xlretInvXlfn). My
previous calls to excel4 work fine but not for xlfGetCell. Here is the
code

XLOPER xlFormula;
int diditwork;

XLOPER xCaller;
diditwork = Excel4(xlfCaller,&xCaller,0); // returns 0
diditwork = Excel4(xlfGetCell,&xlFormula,2,TempInt(41),&xCalle r); //
returns 2


Kind Regards,

Ray Gregoire