Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Excel libraries in the Business Central web client

(0) ShareShare
ReportReport
Posted on by 95

Hi. I need help to be able to use Excel libraries in the Business Central web client.

I am using an On Premise version where I can use dotnet libraries. In the client version it works perfectly, but in the web
client version it fails me both when opening the excel file and creating a new one.

I have the variables initialized as XlApp: DotNet Excel_ApplicationClass and XlWrkSht: DotNet Excel_Worksheet;

My code is as follows:

XlApp: = XlApp.ApplicationClass ();
XlWorkBook: = XlApp.Workbooks (). Add ();

The fault is in .Add (). As I have read in forums, you have to leave it blank to create a default sheet, but I receive the
error wrong format. A variable must be passed to Add (Template: Dotnet "System.Object"). I have tried to pass that type of variable and a text with a template path as it did in the client version, but it does not work in any case. Keep giving error.

Could anyone help me?

Greetings and thanks.

  • Suggested answer
    THE Italian Profile Picture
    on at
    RE: Excel libraries in the Business Central web client

    These are working totally different between the 2 clients.

    You have to stick with this article

    www.kauffmann.nl/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
YUN ZHU Profile Picture

YUN ZHU 628 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 495

#3
Sohail Ahmed Profile Picture

Sohail Ahmed 436

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans