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

¦p¦ó¥u§ó·s·í¤éÄæ¦ìVBA

¦p¦ó¥u§ó·s·í¤éÄæ¦ìVBA

¥»©«³Ì«á¥Ñ jerrystock ©ó 2014-4-20 21:03 ½s¿è

½Ð°Ý¦p¦ó½Æ»sD1~D3Äæ¦ì¨ìE1~E3Äæ¦ìªº¼Æ¾Ú.¦ý¬O¹j¤é´N¤£½Æ»s¬Q¤éªºD1~D3Äæ¦ìªº¼Æ¾Ú
¦]¬°¬Q¤éD1~D3¨Ó¨ì¹j¤é´N·|§ó·s¼Æ¾Ú.¦ýE1~E3¤£§ó·s¥u°O¿ý©¹«á·s¼W¥X¨ÓªºDÄæ¸ê®Æ
¹³¬O©ú¤é·s¼W¥X¨ÓªºD5»PD6Äæ¦ì½Æ»s¨ìE5Äæ»PE6Äæ.¥H¦¹Ãþ±À .¤£¬O½Æ»s¥þ³¡DÄæ.VBA
¨Ò¦p:¤µ¤é
             D            E
2          10.5     10.5
3          20         20
4          12         12
©ú¤é
5         40          ?
6         35          ?
ÁÂÁÂ

ªþÀÉ TEST1.zip (7.71 KB)

¦^´_ 1# jerrystock


    ¹³³o¼Ë¶Ü¡H

Book1.rar (10.57 KB)

TOP

¥»©«³Ì«á¥Ñ jerrystock ©ó 2014-4-21 14:07 ½s¿è

¦^´_ 2# owen06
·PÁ¤j¤j¦Ê¦£¤¤¦^´_§Úªº°ÝÃD  
­ì«h¤W¬O³o¼Ë¨S¿ù  ¦pªGÄæ¦ì¥u¦³EÄæ¸òFÄæ.FÄæ¥u§ó·sEÄæ·s¼W³¡¤À¼Æ¾Ú.¤£°Ñ¦Ò(¤é´Á)»P(¤µ¤é·s¼W)¦r¦ê
¥u¦³2Äæ¼Æ¾Ú.FÄæ¥u§ó·sEÄæ·s¼W³¡¤À ³o¼Ë¤l¥i¥H¶Ü?  ÁÂÁÂ

TEST2.zip (7.61 KB)

TOP

¦^´_ 3# jerrystock
40»P50ªº¼Æ­È¨Ì¾Ú¦b­þ?
¬Ý¤£¥XEÄæ»PFÄ榳¬Æ»òÃö³s?
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ jerrystock ©ó 2014-4-21 15:17 ½s¿è

¦^´_ 4# Hsieh
EÄæ¬O·í¤éªÑ»ù·|§ó·s¨C¤é¤£¦P
FÄæ¬O¶R¶iªºªÑ»ù¬O©T©w¤£ÅÜ
E5=40¤¸
E6=35¤¸
FÄæ´N½Æ»sE5»PE6´N¬O·í¤é¶R¶iªº»ù¿ú
©Ò¥H¨âÄ椧«e¼Æ¾Ú¤£·|¦P¨B.·s¼W¼Æ¾Ú´N¬O·í¤é¶R¶i»ù¿ú©Ò¥H´N·s¼W¨ìF5»PF6
¤p§Ì´y­z¤£¦n ½Ð¤Å¨£©Ç  ÁÂÁÂ

TEST3.zip (7.64 KB)

TOP

  1. Sub ex()
  2. Dim Rng As Range, A As Range
  3. With ¤u§@ªí1
  4. Set Rng = Range([F2], .Cells(.Rows.Count, "E").End(xlUp).Offset(, 1))
  5. If Application.CountBlank(Rng) > 0 Then
  6. For Each A In Rng.SpecialCells(xlCellTypeBlanks)
  7.   A = A.Offset(, -1).Value
  8. Next
  9. End If
  10. End With
  11. End Sub
½Æ»s¥N½X
¦^´_ 5# jerrystock
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 5# jerrystock


    Â櫨¡H

Book1.rar (8.89 KB)

TOP

¦^´_ 6# Hsieh

·PÁÂHsieh¤j¤j¸Ñ¨M§Úªº°ÝÃD ¤]·PÁÂowen06¤j¤j¤£±¤¨¯³Ò¬°§Ú§äµª®×
¤£¹LÀ³¥Î¤WHsieh¤j¤jªºµ{¦¡½X,­Ó¤HÀô¹Ò±µ¨ü«×½d³ò¸û¼s
owen06¤j¤jªºµ{¦¡½X,¥Î¦b·í¤U¥i¥H¸Ñ¨M,¦ýÀô¹Ò¦³¨Ç§ïÅÜ«á´N¤£¯à¨Ï¥Î¤F
Hsieh¤j¤jªºµ{¦¡½X,Àô¹Ò§ï¨Ó§ï¥h³£ÁÙ¯à¨Ï¥Î
³o¬O¤p§Ì²L¨£,¤p§Ì§¹¥þ¤£À´VBA,½Ð¤j¤j¨£½Ì
·PÁ¨â¦ì¤j¤jÀ°§U  ÁÂÁ¨â¦ì^^

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD