ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

§ä¥X±±¨î¶µ¦b¨º¸Ì¨Ï¥Î¨Ã²¾¥X Forms object libraryªºVBA¤Þ¥Î

§ä¥X±±¨î¶µ¦b¨º¸Ì¨Ï¥Î¨Ã²¾¥X Forms object libraryªºVBA¤Þ¥Î

ExcelÀÉ®×´¿¸g¨Ï¥Î±±¨î¶µ¡A«á¨Ó²¾°£¤F¡C
¦ý«oµLªk²¾°£¤Þ¥Î¤Þ¥Î¶µ Microsoft Forms 2.0 object library


ºô¸ô¤W¹M´M¡A¤]µLªk¦³®Ä¥h°£¡C

½Ð°Ý¤j¤j­Ì¡A¦p¦ó§ä¥X "¨Ï¥Î¤¤"ªº±±¨î¶µ¨Ã¯à²¾¥X¤Þ¥Îªºª«¥ó®w

¦^´_ 1# Scott090
§A¬O¤£¬OÁÙ³]©w¦³ "¦Û­qªí³æ" ©O¡H
¦pªG¥Ø«e¤w¨S¦A¨Ï¥Î "¦Û­qªí³æ" (Form1)
¨º«K¥ý±N¥¦²¾°£¤~¦æ¡C

TOP

¥»©«³Ì«á¥Ñ ­ã´£³¡ªL ©ó 2016-12-4 11:31 ½s¿è

'¦C¥X¤Þ¥Î¶µ¥Ø
Sub Test_Ref()
Dim vRef As Object
With ThisWorkbook.VBProject
     For Each vRef In .References
         MsgBox "¡i¦WºÙ¡j" & vRef.Name & vbCrLf & "¡i¸ô®|¡j" & UCase(vRef.FullPath)
    Next
End With
End Sub

'²¾°£¤Þ¥Î¶µ¥Ø
Sub Remove_Ref()
Dim vRef As Object
With ThisWorkbook.VBProject
     For Each vRef In .References
         If UCase(vRef.FullPath) = UCase("C:\WINDOWS\system32\FM20.DLL") Then
           .References.Remove vRef
         End If
    Next
End With
End Sub

TOP

¦^´_ 2# c_c_lai


    ¦¹¤u§@鷺¨Ã¥¼´¿³]¦³¦Û­qªí³æ FORMª«¥ó¡A¦A§ä¤]¨S¦³µo²{ form1ª«¥ó

ÁÂÁÂ

TOP

¦^´_ 3# ­ã´£³¡ªL

³Q¤Þ¥Îªº forms ª«¥ó ¦b sysWOW64 ¸ô®|¡A©Ò¥H VBA§ï¦¨¦p¤U¡G
      If UCase(vRef.FullPath) = UCase("C:\WINDOWS\sysWOW64\FM20.DLL") Then
¤w¦¨¥\®Ö®ø¦¹¶µ¤Þ¥Î¡C

¤£¹L¦n©_ªº¬O¦b system32 ¤º¤]¦³¤@­Ófm20.dll¡A2­Ó .dll ªº¤j¤p¤£¦P
Excel ¬O 32¦ì¤¸ªºª©¥»¡A«ç·|¤Þ¥Î¨ì 64¦ì¤¸ªº¨º¤@­Ó fm20.dll?

«ÜÁÂÁÂ

TOP

¦^´_ 3# ­ã´£³¡ªL

­ã´£³¡ªL ¤j¤j

¥»¤HExcel ¬O2003 32¦ì¤¸ªºª©¥»
¤Þ¥Î ¤j¤jªº¤è¦¡
¤£ª¾¸Ó±N¤º®e...©ñ¦b­þ¸Ì¡H¡H
¥X²{¿ù»~...¦p¹Ï

¤£ª¾¹D­þ¸Ì¥X°ÝÃD
¯à½Ð¤j¤jÀ°¦£¸Ñ´b
·P®¦
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 6# 7777


¬O"VBProject"¨S¿ù, ¥i¶iVBE»¡©úÀɤ¤¿é¤JÃöÁä¦r¬d¸ß!
¦Ü¤_¿ù»~­ì¦], ¨SÀɮ׬ݤ£¥X¨Ó, ªp¥B§Ú¬OOFFICE 2000!
¬Ý¨ä¥L¤j¤j¯à§_¸Ñ¨M???

TOP

        ÀR«ä¦Û¦b : ¯u¥¿ªº·R¤ß¡A¬O·ÓÅU¦n¦Û¤vªº³oÁû¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD