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

[µo°Ý] Ãö©óWorkbook_Open·|¤£·íIJµoNum Lock¨Ï¨äÃö³¬¡H

[µo°Ý] Ãö©óWorkbook_Open·|¤£·íIJµoNum Lock¨Ï¨äÃö³¬¡H

  1. Private Sub Workbook_Open()
  2.     On Error Resume Next
  3.     Application.SendKeys ("%{F11}") '«ö¤U Alt+F11 Áä
  4.    
  5.     With Application
  6.         With .VBE.MainWindow
  7.             .WindowState = vbext_ws_Minimize
  8.             .Visible = False
  9.         End With
  10.     End With
  11. End Sub
½Æ»s¥N½X
¥H¤W¦Û°Ê°õ¦æ«á·|ÅýNum Lockªº¿OÃö³¬¡H
¦p¦óÅý¥L¤£Ãö³¬Num Lockªº¿O¡A¦A¦¸·PÁ¡C

¥H¤W¦Û°Ê°õ¦æ«á·|ÅýNum Lockªº¿OÃö³¬¡H
¦p¦óÅý¥L¤£Ãö³¬Num Lockªº¿O¡A¦A¦¸·PÁ¡C
av8d µoªí©ó 2014-9-4 08:48

§ÚªºPC °õ¦æ®É¤£·|Ãö³¬ Num Lockªº¿O ­C.

©ÎªÌ­Y§A½T©w°õ¦æ Open µ{§Ç«á NumLock ¿O¤@©w·|Ãö³¬,
¨º´N¦b Open µ{§Ç ªº³Ì©³¤U¦A±N¥¦¥´¶}¤]¬O¤@­Ó¸Ñ¨Mªº¤è¦¡ :
Application.SendKeys("{NUMLOCK}")

¤£¹L§ÚÁÙ¬Oı±oÀ³¸Ó¤£¬O Open µ{§Ç³y¦¨ªº,
§A¤]¥i¥H¤â°Ê«ö¤U Alt + F11 ½Æ¦XÁä¬Ý¬Ý NumLock ¿O ¬O§_·|¸òµÛÃö³¬?
­Y¬O, ¨º¥i¯à¬O¨ä¥L±`¾n³nÅé©Î¨t²Îªº³]©w(¸Õ¸Õ°±¦bBIOS³]©wµe­±®É¬O§_·|µo¥Í, ÁÙ¨S¶i Windows ¨t²Î«e©O?)³y¦¨ªº,
¥ç©Î¬O¸ò§O¤H­É­ÓÁä½L¨Ó¸Õ¸Õ¬Ý¬O§_¤´Â¦³¦¹±¡§Î?
¥æ¤e¤ñ¹ï´ú¸Õ¤@¤UÀ³¸Ó¯à§ä¨ì°ÝÃDÂI.

TOP

¦^´_ 2# luhpro


    Application.SendKeys("{NUMLOCK}")
¸Ñ¨M¤F§Úªº°ÝÃD¡A¨ü¯q¨}¦h¡A¦^¤å±ß¤F¡A¯u¬O©êºp¡I

TOP

        ÀR«ä¦Û¦b : §Ú­Ì­n°µ¦nªÀ·|ªºÀô«O¡A¤]­n°µ¦n¤º¤ßªºÀô«O¡C
ªð¦^¦Cªí ¤W¤@¥DÃD