发 帖  
原厂入驻New
[问答] vrf ActiveX Automation References中的Excel版本
867 excel
分享
太棒了,现在在取消选中“指定对象类型”后就可以了。感谢帮助.Bruno .----- Message d'origine ----- De:Carnahan,Lyle [mailto:carnahal@tycoelectronics.com]
Envoyé:9 mai 2006 17:24在全局变量声明中,您需要取消选中“指定对象类型”框。
通过此检查,VEE正在尝试访问不再有效的引用的类型声明。
然后你会得到一个错误,xlMaximized是一个未声明的变量.----- Message d'origine ----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]Envoyé:9 mai 2006 14:41>
有没有办法告诉VEE使用它能找到的版本?除非你真的没有使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要你远离类型库中定义的任何名称,它仍会运行.----- Message d'origine ----- De:Beliveau,Bruno [mailto:BrunoBeliveau @ solectron
Envoyé:9 mai 2006 14:32我有不同Excel版本的电脑。
从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载使用更高版本的程序时,VEE报告错误。
有没有办法告诉VEE使用它能找到的版本?注意:我在Win NT,2000和XP上使用VEE 5.---订阅请发送电子邮件至:“vrf-request@lists.it
agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送一封空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vRF @ agilent。
COM”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  Great, this is working now after unchecking the "SpecIFy Object Type".

Thanks for the help.
Bruno.


-----Message d'origine-----
De : Carnahan, Lyle [mailto:carnahal@tycoelectronics.com]
Envoyé : 9 mai 2006 17:24

In your global variable declarations you would need to uncheck the box that "Specify Object Type". With this checked VEE is trying to access the type declarations for a reference that is no longer valid. You will then get an error that xlMaximized is an undeclared variable.


-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoyé : 9 mai 2006 14:41

> Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead).

A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib.


-----Message d'origine-----
De : Beliveau, Bruno [mailto:BrunoBeliveau@solectron.com]
Envoyé : 9 mai 2006 14:32

I have computers with different Excel version.  From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library".  VEE reports an error when loading a program made with the later version from a computer with an older version instalLED (like Excel 97).  Is there a way to tell VEE to use the version it can find?

Note: I am using VEE 5 on Win NT, 2000 and XP.

---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com".  
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
0
2018-9-4 15:29:19   评论 分享淘帖 邀请回答
27个回答
>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行。-SHAWN ----您目前订阅vrf为:rsb@soco.agilent.com要订阅,请发送电子邮件至
:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件至
这个邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  > Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation
Reference, VEE stores the typelib GUID in the VEE source. If that GUID
doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The
difficulty there is it disables the Function & Object Browser and any names
(like xlMinimized and so on) can't be used in code (use their enum or
defined values instead).

A happy medium is to uncheck the reference when you release the code. When
it's transported to another computer, it will still run as long as you stay
away from any names defined in the typelib.
-SHAWN-


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 15:37:02 评论

举报

>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行。-SHAWN ----您目前订阅vrf为:rsb@soco.agilent.com要订阅,请发送电子邮件至
:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要发送邮件至
这个邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  > Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation
Reference, VEE stores the typelib GUID in the VEE source. If that GUID
doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The
difficulty there is it disables the Function & Object Browser and any names
(like xlMinimized and so on) can't be used in code (use their enum or
defined values instead).

A happy medium is to uncheck the reference when you release the code. When
it's transported to another computer, it will still run as long as you stay
away from any names defined in the typelib.
-SHAWN-


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 15:55:21 评论

举报

Bruno,在全局变量声明中,您需要取消选中“指定对象类型”框。
通过此检查,VEE正在尝试访问不再有效的引用的类型声明。
然后你会得到一个错误,xlMaximized是一个未声明的变量.LyleLyle CarnahanAerospace and Defense SectorM / A-COM Inc.1011 Pawtucket BoulevardLowell,MA 01853-3295电话:(978)442-4504传真:(978)442-4409carnahal@tycoelectronics.com
-----原始消息-----来自:Beliveau,Bruno [mailto:BrunoBeliveau@solectron.com]发送时间:2006年5月9日星期二下午5点18分:VRFCc:'Shawn Fessenden'主题:回复:[
vrf] ActiveX Automation References中的Excel版本只有第一行“Set myAppl = CreateObject(”Excel.Application“);”,Istill得到相同的错误“没有为excel.Application加载任何类型信息”.Bruno .--
---消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 15:29删除引用xlMaximized的行。如果没有执行则无关紧要,它仍然是
那里.---您目前订阅了vrf:carnahal@tycoelectronics.com订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com”,其中包含“subscribe”字样
sage body。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.---
您目前订阅了vrf:rsb@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件
到“leave-vrf@it.lists.it.agilent.com”。要发送邮件到这个邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  
Bruno,

In your global variable declarations you would need to uncheck the box that "Specify Object Type". With this checked VEE is trying to access the type declarations for a reference that is no longer valid. You will then get an error that xlMaximized is an undeclared variable.

Lyle



Lyle Carnahan
Aerospace and Defense Sector
M/A-COM  Inc.
1011 Pawtucket Boulevard
Lowell, MA  01853-3295

Phone: (978) 442-4504
Fax:   (978) 442-4409
carnahal@tycoelectronics.com



-----Original Message-----
From: Beliveau, Bruno [mailto:BrunoBeliveau@solectron.com]
Sent: Tuesday, May 09, 2006 5:18 PM
To: VRF
Cc: 'Shawn Fessenden'
Subject: Re: [vrf] Excel version in ActiveX Automation References


With only the first line "Set myAppl=CreateObject("Excel.Application");", I
still get the same error "There isn't any type information loaded for
Excel.Application".

Bruno.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net]
Envoy : 9 mai 2006 15:29

Delete the line that references xlMaximized.
Doesn't matter if it's not executed, it's still there.

---
You are currently subscribed to vrf as: carnahal@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 16:10:26 评论

举报

Bruno,在全局变量声明中,您需要取消选中“指定对象类型”框。
通过此检查,VEE正在尝试访问不再有效的引用的类型声明。
然后你会得到一个错误,xlMaximized是一个未声明的变量.LyleLyle CarnahanAerospace and Defense SectorM / A-COM Inc.1011 Pawtucket BoulevardLowell,MA 01853-3295电话:(978)442-4504传真:(978)442-4409carnahal@tycoelectronics.com
-----原始消息-----来自:Beliveau,Bruno [mailto:BrunoBeliveau@solectron.com]发送时间:2006年5月9日星期二下午5点18分:VRFCc:'Shawn Fessenden'主题:回复:[
vrf] ActiveX Automation References中的Excel版本只有第一行“Set myAppl = CreateObject(”Excel.Application“);”,Istill得到相同的错误“没有为excel.Application加载任何类型信息”.Bruno .--
---消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 15:29删除引用xlMaximized的行。如果没有执行则无关紧要,它仍然是
那里.---您目前订阅了vrf:carnahal@tycoelectronics.com订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com”,其中包含“subscribe”字样
sage body。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要向此邮件列表发送邮件,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”.---
您目前订阅了vrf:rsb@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件
到“leave-vrf@it.lists.it.agilent.com”。要发送邮件到这个邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  
Bruno,

In your global variable declarations you would need to uncheck the box that "Specify Object Type". With this checked VEE is trying to access the type declarations for a reference that is no longer valid. You will then get an error that xlMaximized is an undeclared variable.

Lyle



Lyle Carnahan
Aerospace and Defense Sector
M/A-COM  Inc.
1011 Pawtucket Boulevard
Lowell, MA  01853-3295

Phone: (978) 442-4504
Fax:   (978) 442-4409
carnahal@tycoelectronics.com



-----Original Message-----
From: Beliveau, Bruno [mailto:BrunoBeliveau@solectron.com]
Sent: Tuesday, May 09, 2006 5:18 PM
To: VRF
Cc: 'Shawn Fessenden'
Subject: Re: [vrf] Excel version in ActiveX Automation References


With only the first line "Set myAppl=CreateObject("Excel.Application");", I
still get the same error "There isn't any type information loaded for
Excel.Application".

Bruno.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net]
Envoy : 9 mai 2006 15:29

Delete the line that references xlMaximized.
Doesn't matter if it's not executed, it's still there.

---
You are currently subscribed to vrf as: carnahal@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 16:16:50 评论

举报

MessageI具有不同Excel版本的计算机。
从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载使用更高版本的程序时,VEE报告错误。
有没有办法告诉VEE使用它能找到的版本?注意:我在Win NT,2000和XP上使用VEE 5.感谢you.Bruno Beliveau .---您目前订阅的是vrf:rsb @ soco
.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it”
.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  MessageI have computers with different Excel version.  From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library".  VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97).  Is there a way to tell VEE to use the version it can find? Note: I am using VEE 5 on Win NT, 2000 and XP. Thank you.Bruno Beliveau. ---You are currently subscribed to vrf as: rsb@soco.agilent.comTo subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list,  email "vrf@agilent.com".  If you need help with the mailing list send a message to"owner-vrf@it.lists.it.agilent.com".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 16:22:18 评论

举报

MessageI具有不同Excel版本的计算机。
从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载使用更高版本的程序时,VEE报告错误。
有没有办法告诉VEE使用它能找到的版本?注意:我在Win NT,2000和XP上使用VEE 5.感谢you.Bruno Beliveau .---您目前订阅的是vrf:rsb @ soco
.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。要取消订阅,请发送空白电子邮件至“leave-vrf@it.lists.it”
.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  MessageI have computers with different Excel version.  From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library".  VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97).  Is there a way to tell VEE to use the version it can find? Note: I am using VEE 5 on Win NT, 2000 and XP. Thank you.Bruno Beliveau. ---You are currently subscribed to vrf as: rsb@soco.agilent.comTo subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list,  email "vrf@agilent.com".  If you need help with the mailing list send a message to"owner-vrf@it.lists.it.agilent.com".Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 16:36:10 评论

举报

我有不同Excel版本的计算机。从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载用更高版本制作的程序时报告错误。有没有办法告诉VEE使用它能找到的版本?Â注意:我在Win上使用VEE 5
NT,2000和XP.感谢you.Bruno Beliveau. ---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。
要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。
要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。

以上来自于谷歌翻译


     以下为原文

  I have computers with different Excel version.  From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library".  VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97).  Is there a way to tell VEE to use the version it can find?
 
Note: I am using VEE 5 on Win NT, 2000 and XP.
 
Thank you.
Bruno Beliveau. 

---

To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 16:44:19 评论

举报

我有不同Excel版本的计算机。从VEE,在“设备 - > ActiveX自动化参考”中,我的大多数计算机都列出了“Microsoft Excel 8.0对象库”,但有些具有“Microsoft Excel 10.0对象库”。
从安装了旧版本的计算机(如Excel 97)加载用更高版本制作的程序时报告错误。有没有办法告诉VEE使用它能找到的版本?Â注意:我在Win上使用VEE 5
NT,2000和XP.感谢you.Bruno Beliveau. ---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含subscribe一词。
要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。
要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。
在“www.oswegosw.com/vrf_archive/”上搜索“unofficial vrf archive”。

以上来自于谷歌翻译


     以下为原文

  I have computers with different Excel version.  From VEE, in "Device-->ActiveX Automation References", most of my computers have "Microsoft Excel 8.0 Object Library" listed, but some have "Microsoft Excel 10.0 Object Library".  VEE reports an error when loading a program made with the later version from a computer with an older version installed (like Excel 97).  Is there a way to tell VEE to use the version it can find?
 
Note: I am using VEE 5 on Win NT, 2000 and XP.
 
Thank you.
Bruno Beliveau. 

---

To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 16:53:48 评论

举报

>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行。-SHAWN ----如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent。
com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf@agilent.com“

如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  > Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead).

A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib.
-SHAWN-


---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 17:00:02 评论

举报

>有没有办法告诉VEE使用它能找到的版本?除非你真的使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行。-SHAWN ----如需订阅,请发送电子邮件至:“vrf-request@lists.it.agilent。
com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件,请发送电子邮件至”vrf@agilent.com“

如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  > Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead).

A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib.
-SHAWN-


---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 17:07:09 评论

举报

那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 14:41>有没有办法告诉VEE
使用它可以找到的版本?除非你真的使用CreateObject。
检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行.---您目前订阅了vrf:rsb@soco.agilent.com要订阅,请发送电子邮件至:“vrf
-request@lists.it.agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件
,发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  That was quick!

Thank you.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net]
Envoy : 9 mai 2006 14:41

> Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation
Reference, VEE stores the typelib GUID in the VEE source. If that GUID
doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The
difficulty there is it disables the Function & Object Browser and any names
(like xlMinimized and so on) can't be used in code (use their enum or
defined values instead).

A happy medium is to uncheck the reference when you release the code. When
it's transported to another computer, it will still run as long as you stay
away from any names defined in the typelib.

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 17:23:53 评论

举报

那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 14:41>有没有办法告诉VEE
使用它可以找到的版本?除非你真的使用CreateObject。
检查AutomationReference时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍会运行.---您目前订阅了vrf:rsb@soco.agilent.com要订阅,请发送电子邮件至:“vrf
-request@lists.it.agilent.com“在邮件正文中单词subscribe。要取消订阅,请发送空白电子邮件至”leave-vrf@it.lists.it.agilent.com“。要向此邮件列表发送邮件
,发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  That was quick!

Thank you.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net]
Envoy : 9 mai 2006 14:41

> Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation
Reference, VEE stores the typelib GUID in the VEE source. If that GUID
doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The
difficulty there is it disables the Function & Object Browser and any names
(like xlMinimized and so on) can't be used in code (use their enum or
defined values instead).

A happy medium is to uncheck the reference when you release the code. When
it's transported to another computer, it will still run as long as you stay
away from any names defined in the typelib.

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 17:34:10 评论

举报

那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]Envoyé:9 mai 2006 14:41>有没有办法告诉你
VEE使用它可以找到的版本?除非你真的使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会收到错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(改为使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行.---要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”
订阅邮件正文中的单词。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  That was quick!

Thank you.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoyé : 9 mai 2006 14:41

> Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead).

A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib.

---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 17:47:09 评论

举报

那很快!谢谢.-----消息来源----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]Envoyé:9 mai 2006 14:41>有没有办法告诉你
VEE使用它可以找到的版本?除非你真的使用CreateObject。
检查自动化参考时,VEE会将类型库GUID存储在VEE源中。
如果运行代码的计算机上不存在该GUID,则会出现错误。为避免错误,请不要检查自动化参考。
困难在于它禁用了功能和功能。
对象浏览器和任何名称(如xlMinimized等)都不能在代码中使用(使用它们的枚举或定义的值)。一种快乐的方法是在释放代码时取消选中引用。
当它被运送到另一台计算机时,只要您远离类型库中定义的任何名称,它仍然会运行.---订阅请发送电子邮件至:“vrf-request@lists.it.agilent.com”
订阅邮件正文中的单词。要取消订阅,请发送一封空白电子邮件至“leave-vrf@it.lists.it.agilent.com”。要将邮件发送到此邮件列表,请发送电子邮件至“vrf@agilent.com”。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  That was quick!

Thank you.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net] Envoyé : 9 mai 2006 14:41

> Is there a way to tell VEE to use the version it can find?

Unless you're using CreateObject not really. When you check an Automation Reference, VEE stores the typelib GUID in the VEE source. If that GUID doesn't exist on the computer that runs the code, you get the error.

To avoid the error, don't bother checking an Automation Reference. The difficulty there is it disables the Function & Object Browser and any names (like xlMinimized and so on) can't be used in code (use their enum or defined values instead).

A happy medium is to uncheck the reference when you release the code. When it's transported to another computer, it will still run as long as you stay away from any names defined in the typelib.

---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 18:05:40 评论

举报

以上来自于谷歌翻译


     以下为原文
2018-9-4 18:18:08 评论

举报

以上来自于谷歌翻译


     以下为原文
2018-9-4 18:23:53 评论

举报

以上来自于谷歌翻译


     以下为原文
2018-9-4 18:31:56 评论

举报

以上来自于谷歌翻译


     以下为原文
2018-9-4 18:41:50 评论

举报

只有第一行“Set myAppl = CreateObject(”Excel.Application“);”,Istill得到相同的错误“没有为excel.Application加载任何类型信息”.Bruno .----- Message d'origin
----- De:Shawn Fessenden [mailto:shawnfess@comcast.net]特使:9 mai 2006 15:29删除引用xlMaximized的行。如果没有执行则无关紧要,它仍然存在.---你是
目前订阅vrf为:rsb@soco.agilent.com要订阅,请发送电子邮件至:“vrf-request@lists.it.agilent.com”,邮件正文中包含“subscribe”字样。要取消订阅,请发送空白电子邮件至“
leave-vrf@it.lists.it.agilent.com“。要发送邮件到这个邮件列表,请发送电子邮件至”vrf@agilent.com“。
如果您需要有关邮件列表的帮助,请发送邮件至“owner-vrf@it.lists.it.agilent.com”。在“www.oswegosw.com/vrf_archive/”上搜索“非官方vrf档案”。

以上来自于谷歌翻译


     以下为原文

  With only the first line "Set myAppl=CreateObject("Excel.Application");", I
still get the same error "There isn't any type information loaded for
Excel.Application".

Bruno.

-----Message d'origine-----
De : Shawn Fessenden [mailto:shawnfess@comcast.net]
Envoy : 9 mai 2006 15:29

Delete the line that references xlMaximized.
Doesn't matter if it's not executed, it's still there.

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
2018-9-4 19:01:16 评论

举报

只有小组成员才能发言,加入小组>>

12下一页

62个成员聚集在这个小组

加入小组

创建小组步骤

关闭

站长推荐 上一条 /10 下一条

快速回复 返回顶部 返回列表