简体   繁体   English

在SharePoint列表中添加Excel表单数据的宏?

[英]Macro for adding Excel form data in SharePoint list?

I have Excel 2013 worksheet where user will add some data. 我有Excel 2013工作表,用户将在其中添加一些数据。

Excel worksheet data: Excel工作表数据:
Excel工作表数据

We need to create button on worksheet (Save button) which had macro behind, which saves data in SharePoint list (already created in SP site). 我们需要在工作表上创建按钮(“保存”按钮),该按钮后面有宏,该按钮将数据保存在SharePoint列表中(已在SP网站中创建)。

List having same two columns. 列表具有相同的两列。

I do not have permission on SQL server to add stored procedure or fire query for call from Macro. 我没有SQL Server上的权限来添加存储过程或对宏调用进行激发查询。

Is there any other way? 还有其他办法吗? Please suggest. 请提出建议。

You can't manipulate a SharePoint list with Excel VBA. 您不能使用Excel VBA操作SharePoint列表。 You may want to re-think your architecture. 您可能需要重新考虑您的体系结构。 I suggest to let the user enter the data into a SharePoint list form instead of an Excel sheet. 我建议让用户将数据输入到SharePoint列表形式而不是Excel工作表中。

You can export the SharePoint list to Excel, which creates a dynamic, refreshable data connection, if you want to use the SharePoint list data for further analysis. 如果要使用SharePoint列表数据进行进一步分析,则可以将SharePoint列表导出到Excel,这将创建一个动态的可刷新数据连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM