简体   繁体   English

Excel、vba 和 onedrive 或 sharepoint 文件共享

[英]Excel, vba, and onedrive or sharepoint file sharing

I have two local excel files on my hard drive.我的硬盘上有两个本地 excel 文件。 Both have Macros to achieve certain goals.两者都有实现特定目标的宏。 But after all being done the end result is that after i click a command button from one excel file (lets call it 'A') the data gets transferred based on a macro behind that command button to the other file (let call this one 'B') in a certain format.但毕竟完成后,最终结果是,在我单击一个 Excel 文件中的命令按钮(我们称之为“A”)后,数据将基于该命令按钮后面的宏传输到另一个文件(我们称之为“ B') 以某种格式。

All this works great.所有这些都很好用。 The source file 'A' is accessible by everyone to enter data, but the destination file to maintain data integrity is read only but a macro is able to write into it.每个人都可以访问源文件“A”来输入数据,但保持数据完整性的目标文件是只读的,但宏可以写入其中。 For obvious reasons, both file are on a shared folder so data can be entered one file and transferred to another by everyone.出于显而易见的原因,这两个文件都位于共享文件夹中,因此每个人都可以将数据输入一个文件并传输到另一个文件。

Now I want to be able to continue with the same functionality but now on a sharepoint or onedrive.现在我希望能够继续使用相同的功能,但现在在共享点或 onedrive 上。 Unfortunately I am unable to do so.不幸的是,我无法这样做。

I am not sure what are your exact requirements, however I think you can use SharePoint lists with SPD workflows to meet your requirements instead of using excels.我不确定您的确切要求是什么,但是我认为您可以将 SharePoint 列表与 SPD 工作流一起使用来满足您的要求,而不是使用 excel。

Whenever business users need data in excel they can always export them from list.每当业务用户需要 excel 中的数据时,他们总是可以从列表中导出它们。

There is one more easy way where you can let users enter data in excel however it will be stored in SharePoint list.还有一种更简单的方法可以让用户在 Excel 中输入数据,但它会存储在 SharePoint 列表中。

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

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