VSTO - 存储 Excel 工作簿设置的最佳位置 [英] VSTO - Best place to store Excel workbook settings

查看:60
本文介绍了VSTO - 存储 Excel 工作簿设置的最佳位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在 VBA 中实现的旧版 Excel 插件,我正在使用 VSTO 慢慢将其移植到 .net.使用此插件,我将每个工作簿的设置存储在隐藏工作表中.我想知道是否有更好的方法来使用 VSTO 来做到这一点.

I have a legacy Excel AddIn implemented in VBA which I am slowly porting to .net using VSTO. Using this AddIn I am storing settings per workbook within a hidden sheet. I was wondering if there is a better approach to do this using VSTO.

推荐答案

您可以使用 自定义文档属性以存储设置.

You can use Custom Document Properties to store the settings.

这篇关于VSTO - 存储 Excel 工作簿设置的最佳位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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