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

[µo°Ý] VBA ¦Û°Ê´¡¤J¦ÜªÅ¥Õ®æ¤è¦¡

¦^´_ 7# lichang


    ¹ï¤F¡A¦pªG§Aªºoffice¬O2003ªº¡A¨º
    Range(Cells(1, 2), Cells(3, [XFD3].End(1).Column)).Select
    ­n§ï¦¨
    Range(Cells(1, 2), Cells(3, [iv3].End(1).Column)).Select
    ¤~¤£·|¶W¥X½d³ò

TOP

ÁÂÁ¦U¦ì¤j¤jÀ°¦£¡A§Ú´ú¸Õ¤@¤U

TOP

¦^´_ 4# lichang


    À°¸É¦Û°Ê±Æ§Ç
  1. Private Sub CommandButton1_Click()
  2. Dim Col As Integer
  3. Col = Sheets("¤u§@ªí1").[a1].End(xlToRight).Column + 1
  4. Cells(1, Col) = TextBox1.Value
  5. Cells(2, Col) = TextBox2.Value
  6. Cells(3, Col) = TextBox3.Value
  7. Range(Cells(1, 2), Cells(3, [XFD3].End(1).Column)).Select
  8. Selection.Sort Key1:=Range("B1"), Order1:=xlAscending
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_ 4# lichang

¸Õ¸Õ¡I
  1. Private Sub CommandButton1_Click()
  2. Dim Col As Integer
  3. Col = Sheets("¤u§@ªí1").[a1].End(xlToRight).Column + 1
  4. Cells(1, Col) = TextBox1.Value
  5. Cells(2, Col) = TextBox2.Value
  6. Cells(3, Col) = TextBox3.Value
  7. End Sub
½Æ»s¥N½X

TOP

¤£¦n·N«ä¡A¥i¯à¤§«eÀɮצ³°ÝÃD¡A§Ú­«·s©ñ¸mÀÉ®×»P¥Î¹Ï¥Ü¤è¦¡¸ÑÄÀ¦n¤F
  ­ì©l¸ê®Æ
¥¼©R¦W.jpg   ¶}±Ò¹ï¸Üµøµ¡¡A¨Ã¿é¤J¸ê®Æ
  ¬d¸ß¦³ªÅ®æ¡A¶ñ¤J¸ê®Æ
  ¦]°¨¹F½s¸¹¤j¤p¤£¤@¡A­«·s¦w±Æ¤@¦¸!!µ²§ô


·s¼W Microsoft Excel ¤u§@ªí.rar (17.14 KB)

TOP

¦^´_ 2# lichang


    §A¦pªG¯à°÷±Ô­zªº§ó©ú½T¤@ÂI¡A¬Æ©ÎÁ|¥X§¹¾ãªº¨Ò¤l¨Ó¡A¤j®a·|¤ñ¸û¦nÀ°¦£§A¡A
    ¦]¬°§A»¡©úªº¤Ó¤Ö¤F¡AÅý¤HºN¤£µÛÀYºü¡A¤£ª¾¹D¸Ó¦p¦óÀ°¦£¡C

TOP

¦Û³»¤@¤U!!³Â·Ð¤j¤j´eªºÀ°¦£!!

TOP

        ÀR«ä¦Û¦b : ¯à·F¤£·F¡A¤£¦p­W·F¹ê·F¡C
ªð¦^¦Cªí ¤W¤@¥DÃD