I am creating 3 workbooks, then adding data to just one workbook and formatting it. I have written an excel macro that does all this very nicely, but when I try to run it from the VFP 9 code, I get a message that the macro may not be available in this workbook or all macros may be disabled, except that I have set the macro security to enable all macros and I have checked the active workbook and can run the macro if I put set step on and do it manually.
This is the code:
oexcel.application.run("PERSONAL.XLSB.vfp2xls")
This is the code:
oexcel.application.run("PERSONAL.XLSB.vfp2xls")