excel - 在 64 位 Excel 中从 VBA 编写注册表
问题描述
我使用 Chip Pearson 的例程 (www.cpearson.com/excel/registry.htm) 从 Excel VBA 程序中读取和写入注册表值。它们在 32 位 Excel 上工作,但甚至不能在 64 位 Excel 上编译。
今天我发现了这些https://vba-corner.livejournal.com/3054.html。它们在 32 位 Excel 中工作,在 64 位 Excel 上它们编译正常并读取注册表,但由于某些访问权限而无法写入注册表或删除键。我以管理员身份运行 Excel,所以我应该拥有所有权限。
有没有办法在 64 位 Excel 中使用 VBA 写入注册表值?
谢谢你。
解决方案
推荐阅读
- python-3.x - 除了使用 psycopg2 之外,通过 Python 3.x (Windows7) 连接到 AWS Redshift 的方法
- python - How do I check if a input is an integer type
- javascript - 类型转换问题(?):如何获取 html标签的值并对其执行数学运算?
- python - 从 JWT Token、Python 获取用户名和照片
- python - Django serializers: why does self.fields.pop('field_name') work?
- javascript - 如何使用jQuery检查字符串中的第一个数字是否为'0'?
- angular - 在验证访问令牌角度 oauth2 oidc 时添加加载页面
- python - 在 Python 中按列读取和附加工作表
- events - 使用 composer-rest-server 时是否需要模型文件 (.cto) 中的事件定义?
- python - PyPDF2 和 ReportLab 编辑 PDF 并合并多个页面