Board logo

¼ÐÃD: [µo°Ý] ÁôÂÃUserFrom¡AIJµo¬YÀx¦s®æ¼u¥X~ [¥´¦L¥»­¶]

§@ªÌ: webbliu    ®É¶¡: 2010-10-13 17:35     ¼ÐÃD: ÁôÂÃUserFrom¡AIJµo¬YÀx¦s®æ¼u¥X~

¦U¦ì¤j¤j¦n¡A

¥H«e´¿¸gµo°Ý¹L°µªº¤@¬qVBA~
¤º®e´N¬O§âUserForm1¥ýÁôÂð_¨Ó¡Aµ¥¨ì¿ï¨ú¨ìJ2:J65536 ¤~·|¼u¥X!
¥»¨Ó³£¦n¦nªº ³Ìªñ¤£ª¾¹D¬ðµM¥¢®Ä¤F?

¥u­n°õ¦æ³£·|¥X²{ ¦¨¬O¿ù»~ ©Î§ä¤£¨ì±M®×~
½Ð°Ý¤j¤j ¬O¨ºùػݭn­×§ï¶Ü?

ÁÂÁ¦U¦ì¤j¤j!!
  1. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  2.     If Application.Intersect(Target, [J2:J65536]) Is Nothing Then Exit Sub
  3.     ActiveCell.Value = ""
  4.     UserForm1.Show
  5. End Sub
½Æ»s¥N½X

§@ªÌ: webbliu    ®É¶¡: 2010-10-13 17:58

¦^´_ 1# webbliu
  1. Private Sub Worksheet_SelectionChange(ByVal Target As Range)
  2. If Application.Intersect(Range("J2:J65536"), Target) Is Nothing Then Exit Sub
  3. UserForm1.Show 0
  4. End Sub
½Æ»s¥N½X
¦U¦ì¤j¤j~ §Ú¤w¸g§ï¦n¤F~  ÁÂÁ¤j®a~
§@ªÌ: apolloooo    ®É¶¡: 2011-1-14 22:57

¥i§_½Ð°Ý¤@¤U³o¬O¥Î¦b­þ­Ó³õ¦X¡H
§@ªÌ: hugh0620    ®É¶¡: 2011-1-24 11:52

¦^´_ 3# apolloooo


    ¼Ó¥D¬Oª½±µ¼g¦b¬¡­¶¤¤~ ·í¥¦¥hIJµoÀx¦s®æ®É~ ´N·|¸õ¥X¿é¤Jªºªí³æ~
    ¨Ï¥Î¦b­þ­ò???   ¬Ý§A¦Û¤vªº»Ý¨D¥h³]©w~
    ¹³¬O»¡~ §A·Q­n¦b¥´¶}¸ÓEXCELÀÉ®É~ ¸õ¥X¤@¦æ"Åwªï¨Ï¥Î ¥»ÀÉ®×"~ ³o¼Ëªº°T®§
   ¥i¥H¦bVBA¤¤~ THISWORKBOOK¤¤~ ¿é¤J¤U­±ªºµ{¦¡½X´N¥i¥H¤F~

    Private Sub Workbook_Open()
    Msgbox "Åwªï¨Ï¥Î ¥»ÀÉ®×"
    End Sub
§@ªÌ: FAlonso    ®É¶¡: 2011-1-24 13:01

¤£©ú¥Õ#1©M#2ªºµ{¦¡¦³¤°»ò¤À§O,¦Ó¥B§Ú¥Î#1ªºµ{¦¡¤]¨S°ÝÃD
§@ªÌ: hugh0620    ®É¶¡: 2011-1-24 13:17

¦^´_ 5# FAlonso


    ¨ä¹ê¬O¦³®t²§ªº~
   #1 ¬O ·í¸õ¥XUserForm1«á~ Àx¦s®æ¬O¤£¯à²¾°Êªº
  #2 ¬O ·í¸õ¥XUserForm1«á~ Àx¦s®æ¬O¯à²¾°Êªº
  #2 ³o­Ó¦b¹ï©óÀ³¥Î§A¦b­×§ï¸ê®Æ®É´N·|¤ñ¸û¤è«K~ ¥i¥H²¾°Ê¨ì¦Û¤v·Q­n­×§ïªº¸ê®Æ~
   #1 ªº¸Ü~ ¥u­n§A²¾¨ìJ­ÓÄæ¦ì¨S¦³¸ê®Æ~ ´N·|¸õ¥X¨Ó~ §A´N­n¥ýÂI±¼UserForm1~ ¤~¯à°õ¦æ
§@ªÌ: FAlonso    ®É¶¡: 2011-1-24 15:26

¦^´_  FAlonso


    ¨ä¹ê¬O¦³®t²§ªº~
   #1 ¬O ·í¸õ¥XUserForm1«á~ Àx¦s®æ¬O¤£¯à²¾°Êªº
  #2 ¬O ·í¸õ ...
hugh0620 µoªí©ó 2011-1-24 13:17


­ì¨Ó¦p¦¹,§Ú³Q¨º­Ó[]¤Îrange°g¦í¤F,¨Sµo²{userform¨º­Ó'0'




Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)