View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dave Gruzewski Dave Gruzewski is offline
external usenet poster
 
Posts: 5
Default Analysis Toolkit does not work when automating EXCEL workbook

Hi,

I am trying to automate and excel workbook from vb.net code
calling a module with this command(vb.net):

pappXL.Run("ImportFromCPMonitoring")

This works totally fine - but when it gets to anywhere in the spreadsheet
where EDATE is used in a formula - it fails. I am totally at my wits end with
this. Is there any reason why this function would not work? - I stop the code
while it is running and check the tools-addins and both analysis packs are
checked.

Please help

Thanks