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

[µo°Ý] ÁôÂÃUserFrom¡AIJµo¬YÀx¦s®æ¼u¥X~

[µo°Ý] ÁôÂÃ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

¦^´_ 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~

TOP

¥i§_½Ð°Ý¤@¤U³o¬O¥Î¦b­þ­Ó³õ¦X¡H
­É¿ú¤£ÁÙ¡A¤~¬O¤ý¹D

TOP

¦^´_ 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
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¤£©ú¥Õ#1©M#2ªºµ{¦¡¦³¤°»ò¤À§O,¦Ó¥B§Ú¥Î#1ªºµ{¦¡¤]¨S°ÝÃD
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 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~ ¤~¯à°õ¦æ
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

¦^´_  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'
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ¡i¬O§_µo´§¤F¨}¯à¡H¡j¤H¶¡¹Ø©R¦]¬°µu¼È¡A¤~§óÅã±o¬Ã¶Q¡CÃø±o¨Ó¤@½ë¤H¶¡¡AÀ³°Ý¬O§_¬°¤H¶¡µo´§¤F¦Û¤vªº¨}¯à¡A¦Ó¤£­n¤@¨ý¨Dªø¹Ø¡C
ªð¦^¦Cªí ¤W¤@¥DÃD