如何分发 Excel 的离线多维数据集
我有以下场景。在 SSAS 2008 中创建的多维数据集。我可以通过 Excel 连接到该多维数据集。我可以创建一个离线多维数据集文件。我可以连接到这个离线多维数据集文件。
现在,假设我想通过电子邮件将此 Excel 文件与多维数据集文件一起发送,以便其他用户可以查看它。我遇到的问题是离线多维数据集的连接路径被硬编码到 Excel 文件中。
这个人也有同样的问题。 从另一台计算机打开离线多维数据集
他们的解决方案是确保其他用户将多维数据集保存在相同的目录结构中。
我不喜欢这个解决方案。
我也遇到了这个想法: http://www.pcreview.co.uk/forums/thread-948974。 我尝试
过,它出错了,但我不是 Excel VBA 程序员,并且真的不知道我是否将代码放在正确的位置。
不管怎样,有人知道谁来做这件事吗?如果 VBA 解决方案是最好的,有人可以给我一些关于实际将该代码放在哪里的提示吗?
I have the following scenario. A cube created in SSAS 2008. I can connected to this cube via Excel. I can create an offline cube file. I can connect to this offline cube file.
Now, say I want to email this excel file along with the cube file so that another user can view it. I run into the problem that the connection path the offline cube is hard coded into the excel file.
Its the same problem this person had. Opening offline cube from another machine
Their solution was to just make sure the other user saved the cube in the same directory structure.
I don't love that solution.
I also came across this idea:
http://www.pcreview.co.uk/forums/thread-948974.php
I tried that, it errored out, but I am not an Excel VBA programmer and really have no idea if I even put the code in the right place.
So anyway, anyone out there have any ideas about who to do this? If the VBA solution is the best, could someone give me some tips on where to actually put that code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我发现您实际上可以将脱机多维数据集文件 (.cub) 发送给另一个用户,他们可以直接从 Excel 打开该多维数据集文件。
I discovered that you can actually just send the offline cube file (the .cub) to another user and they can open this cube file directly from excel.