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

[µo°Ý] ¦Û°Ê¥h°£ .References "¿òº|" ¶µ;isbroken, Count¥¢®Ä

¦^´_ 4# Scott090
ÁÙ¬O­n¤â°Ê
  1. Option Explicit
  2. Private Sub Workbook_Open()
  3.     ³]©w¤Þ¥Î¶µ¥Ø
  4.     '....µ{¦¡½X
  5.     '....µ{¦¡½X
  6. End Sub
  7. Private Sub ³]©w¤Þ¥Î¶µ¥Ø()  '¿òº|¶µ¦s¦b®É¥Î¤â°Ê§R°£,¥Î¤â°Ê¦sÀÉ«á­«·s°õ¦æµ{¦¡.
  8.     Dim E
  9.     On Error Resume Next
  10.     With ThisWorkbook.VBProject
  11.         For Each E In .References
  12.          Debug.Print E.Name
  13.         Next
  14.     End With
  15.     If Err <> 0 Then
  16.        Application.CommandBars.FindControl(ID:=1561).Execute
  17.        Application.SendKeys "%T"
  18.        Application.SendKeys "R"
  19.       End
  20.     End If
  21. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¤H¥Í³Ì¤jªº¦¨´N¬O±q¥¢±Ñ¤¤¯¸°_¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD