问题描述
我正在使用VB6将数据输入Excel。 编程已成功使用10年以上,包括最近使用Win7 / 32位。 当我在Win7 / 64中运行代码时,我在第11530行上遇到类型不匹配错误。
I'm using VB6 to enter data into Excel. Programming has been used for 10+ years successfully including recently with Win7/32 bit. When I run code in Win7/64 I get Type Mismatch error on line#11530.
[声明]
Dim XlApp作为Excel.Application
Dim XlBook As Excel.Workbook
Dim XlSheet As Excel.Worksheet
Dim XlApp As Excel.Application
Dim XlBook As Excel.Workbook
Dim XlSheet As Excel.Worksheet
11530   ; 设置XlBook = GetObject(BudFileName $)
11530 Set XlBook = GetObject(BudFileName$)
其中BudFileName $有效并适用于Win7 / 32及之前。
where BudFileName$ is valid and works with Win7/32 and previous.
我有针对此KB消息的热修复链接,其中包含大量警告以及在进行热修复之前与技术支持人员进行通信的邀请。
I have the Hot Fix link for this KB message that comes with lots of warnings and an invitation to communicate with tech support before doing the hot fix.
Dan Boeger,dan @ agata.com
Dan Boeger, [email protected]
推荐答案
This is a forum about the .Net based VB versions since 2002. Here you'll also find a link to a VB6 forum:
http://msdn.microsoft.com/en-us/vstudio/ms788229
这篇关于KB文章编号:983246 Win7 / 64类型不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!