使用Office.js在MS Word加载项中加载Excel文件 [英] Load Excel file in MS Word Add-in with Office.js

查看:98
本文介绍了使用Office.js在MS Word加载项中加载Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为MS Word创建一个加载项,我可以从某种文件选择器中选择一个excel文件,然后使用该数据在word doc中生成多个页面(发票).问题是,我似乎无法弄清楚在加载项中加载外部Office文件所需的语法.感谢您的指导.我在Mac上使用Office 2016,因此VBA几乎是不可能的.

I am trying to create an add-in for MS Word where I can choose an excel file from some kind of file picker and then use that data to generate multiple pages (invoices) in the word doc. The problem is, I can't seem to figure out what syntax I need to load an external Office file in the Add-in. Thanks for any pointers. I am on a mac with Office 2016 so VBA is pretty much out of the question.

推荐答案

您可以使用Microsoft Graph Web服务访问外部Excel文件. 您可以在此处找到详细信息.

You could access the external Excel file using the Microsoft Graph web services. You can find details about how to do this here.

这篇关于使用Office.js在MS Word加载项中加载Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆