Actxserver unable to find 'Workbooks'

1 view (last 30 days)
waleed khalid
waleed khalid on 10 Mar 2021
Hi, I am trying to create an output excel file to load data into while using Actxserver. For some reason, I cannot find the 'Workbooks' class. Here is my error and code:
results = actxserver ('Excel.Application');
invoke(results.Workbooks, 'add');

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!