I have an Excel sheet (essentially to be used as a template), I have a macro that deletes the values in the template.
Now, in Access, I have code that fires the Excel from Access, I have a function that calls the macro Delete_Sheet. But I am getting runtime error 1004 cannot run the macro "Delete_Sheet". The macro may not be available in this workbook or all macros may be disabled.
How can I solve this? Thanks
Now, in Access, I have code that fires the Excel from Access, I have a function that calls the macro Delete_Sheet. But I am getting runtime error 1004 cannot run the macro "Delete_Sheet". The macro may not be available in this workbook or all macros may be disabled.
How can I solve this? Thanks