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

Ãö©ó¥¨¶°¿ù»~ªº°ÝÃD

Ãö©ó¥¨¶°¿ù»~ªº°ÝÃD

§Ú³]©w¤F¨Ç¥¨¶°,§Æ±æÅý§Ú©Ò¿ï¨úªº©m¦W¥i¥H§Ö³tªº¦Û°Ê½s¦C¦¨¶¤¥îªºEXCEL¦p¤U:
http://naturefruit.myweb.hinet.net/TEAM.xls

¯à§_À°§Ú¬Ý¤@¤U§Úªº¶¤¥î¤@,©M²M°£³o¨â­Ó«ö¶s¤À§O¦U¥X²{°ÝÃD¦p¤U¹Ï:



³£¥d¦bRange³o­Ó³¡¤À,½Ð°Ý§Ú¸Ó¦p¦ó§ï¼g©O?

¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-8-11 19:49 ½s¿è

¦^´_ 1# vpower
  1. Private Sub CommandButton1_Click()
  2.     Selection.Copy
  3.     Sheets("Á`Äý").Select
  4.     Range(Cells(1, 2)).Select
  5.     Selection.PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
  6.         False, Transpose:=True
  7. End Sub
  8. Private Sub CommandButton3_Click()
  9.     Sheets("Á`Äý").Select
  10.     Range("2:2,4:4,6:6").Select
  11.     Range("A6").Activate
  12.     Selection.ClearContents
  13. End Sub
½Æ»s¥N½X
³o¬O§A­ì¥»ªºµ{¦¡½X  ¼g¦bsheets("­ì½Z") ª«¥ó¼Ò²Õ¤¤
Sheets("Á`Äý").Select-> '«ü©w "Á`Äý"¬°§@¥Î¤¤ªº¤u§@ªí
±µ¤Uªº Range(Cells(1, 2)).Select   »yªk¬O¿ù»~ªº
¥¿½T¬O  Range(Cells(1, 2).Address).Select    ¦ý³o¼ËÁÙ¬O·|¦³¿ù»~
¦]¬° µ{¦¡½X¬O¦b"­ì½Z"¤¤  ©Ò¥H¨S¦³«ü©ú¬O­þ¤@­ÓSHEET¤¤§@Select ·|¦b"­ì½Z"¤¤§@Selectªº¤èªk
¦p¦¹´N²£¥Í¿ù»~ ¶·­×§ï¦¨ Sheets("Á`Äý").Range(Cells(1, 2).Address).Select
                                  ¦P Sheets("Á`Äý").Cells(1, 2).Select
                                  ¦P Sheets("Á`Äý").Range("B1").Select
CommandButton3_Click ->  Range("2:2,4:4,6:6").Select  ­×§ï¦¨ Sheets("Á`Äý").Range("2:2,4:4,6:6").Select
                                            Range("A6").Activate     ­×§ï¦¨   Sheets("Á`Äý").Range("A6").Activate

¦pªG §A±Nµ{¦¡½X¼g¦b¤@¯ë¼ÒèÊ(Module) ¤¤´N¨S¦³°ÝÃDªº

TOP

§Úµo²{²Ä¤@­Ó°ÝÃD
§âRange«e­±¥[¤WActiveSheet.§Y¥i¥H§¹¦¨

GBKEE¤j¤jÁÂÁÂ~·Q½Ð±Ð¤@¤U!
¨ä¹ê§ÚªºRange(Cells(1, 2)).Select¤£¬O§Ú¥¨¶°­ì¨Óªº¬O§Ú¦Û¤v­×¸Ó´ú¸Õªº
­ì¨Óªº¬ORange("A2").Select  µM«á§Ú§â¥L­×§ï¦¨ActiveSheet.Range("A2").Select ´N¥i¥H¤F
¨º§Ú²Ä2ÃD¬O§_¤]¥i¥H³o¼Ë­×§ï©O? ·PÁ±z!

TOP

¥»©«³Ì«á¥Ñ vpower ©ó 2010-8-11 20:11 ½s¿è

ÁÙ­n½Ð±Ð¤@¤U,¬O§_¥u¦³½Æ»s¤~¯à¿ï¾Ü©Ê¶K¤W©O?

¦]¬°§Ú½s¦C¤p¶¤§Æ±æ¥i¥H¥Î°Å¤Uªº¤è¦¡,³o¼Ë¶K¤Wªº¸Ü´NÅܦ¨ªÅ¥Õ,¤ñ¸û¦n¬d¬Ý¥X­þ¨Ç¤H¨S³Q½s¦C¨ì¤p¶¤¸Ì­±

©Î¬O§Ú¥i¥H§Q¥Î³]©w®æ¦¡¤Æ±ø¥óÅý§Ú©Ò½Æ»s¹LªºÀx¦s®æÅܦâ,§Ú¸Ó«ç»ò°µ©O?

TOP

¤@¤Á°ÝÃD³£¸Ñ¨M¤F,ÁÂÁÂGBKEE§¹¦¨§Úªº©Ò¦³°ÝÃD..Åý§Ú¨ü¯q¨}¦h1

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-8-12 08:24 ½s¿è

¦^´_ 3# vpower
ActiveSheet.Range("A2").Select     ->ActiveSheet =§@¥Î¤¤ªº¤u§@ªí
©Ò¥H¤W­±ªº»yªk·N«ä=> §@¥Î¤¤ªº¤u§@ªí¦b Range("A2").Select ªº¤èªk
²Ä2ÃD¬O¤]¥i¥H³o¼Ë­×§ïªº

¦^´_ 4# vpower
  1. Private Sub CommandButton1_Click()
  2.     With Selection
  3.         .Copy
  4.         Sheets("Á`Äý").Range("b1").PasteSpecial Paste:=xlPasteAll, Operation:=xlNone, SkipBlanks:= _
  5.                 False, Transpose:=True
  6.         .Value = ""
  7.     End With
  8. End Sub
½Æ»s¥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