Deactivating Excel macros from Navision

xavigepe
xavigepe Member Posts: 185
edited 2005-06-14 in Navision Attain
I need to open a excelfile from Navision. This excel file contains macros
and I need to deactivate them when I open the excelfile from Navision: How can I do it with code?. Thanks

Comments

  • xavigepe
    xavigepe Member Posts: 185
    In case it helps someone. I've found a solution:


    xlApp.EnableEvents := FALSE;

    where xlApp is the automation variable