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

»y¥y°ÝÃD

»y¥y°ÝÃD

¥»©«³Ì«á¥Ñ basarasy ©ó 2010-7-1 22:51 ½s¿è

½Ð°Ý³o¥y¦p¦ó¥´¤~¥¿½T.
If Range("B6").Value = "" then  [a1]=1

¬°¦ó¤£¥i¥H³o¼Ë¥´ Range("B6").Value = ""  ??

¤£ª¾¿ù¦b¨º¸Ì><
dss = 29
ess = 17
sss = 0
Do
If dss = 34 Then ess = ess + 2

If Range(ess & dss).Select = "" Then
Range(ess & dss).Select
    With Selection.Interior
        .Pattern = xlSolid
        .PatternColorIndex = xlAutomatic
        .ThemeColor = xlThemeColorDark1
        .TintAndShade = 0
        .PatternTintAndShade = 0
    End With
    With Selection.Interior
        .Pattern = xlNone
        .TintAndShade = 0
        .PatternTintAndShade = 0
    End With
   
    Else
    Range(ess & dss).Select
        With Selection.Interior
        .Pattern = xlSolid
        .PatternColorIndex = xlAutomatic
        .Color = 65535
        .TintAndShade = 0
        .PatternTintAndShade = 0
    End With
End If

dss = dss + 1
sss = sss + 1
Loop Until sss = 10
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

¬Ý¤£À´§Aªº»Ý¨D­C???
°ÝÃD¬ORange("B6").Value ªþ¥[¤§µ{¦¡½X½T¬ORange(ess dss).Select ¦Ó¥BRange»yªk¤]¿ù¤F§a???

TOP

¦^´_ 1# basarasy
If Range("B6").Value = "" then  [a1]=1 ¬O¥¿½Tªº
If Range(ess dss).Select = "" Then      ¬O¿ù»~ªº
Select ¤èªk¡C­n±N³æ­ÓÀx¦s®æ±Ò°Ê¬°§@¥Î¤¤Àx¦s®æ

Range½d³òªº®Ñ¼g¤è¦¡->  Range("¤å¦r")
¦pªG ¦P¬O¼Æ¦rªºÅܼƭn¬Û¥[¥Î"+"
ÅܼƤ@­Ó¬O¼Æ¦r ¤@­Ó¬O¤å¦r¬Û¥[¥Î"&"

TOP

¥»©«³Ì«á¥Ñ basarasy ©ó 2010-7-2 17:02 ½s¿è

¦^´_ 3# GBKEE

©Ò¦³ess dss ¤¤¶¡³£¦³&  ,¥u¬Opost¥X¨Ó®É§â§Ú©Ò¦³ªº&³£del.

¬°¦ó§Úrun¨ì If Range("B6").Value = "" then  [a1]=1   ®É¥L»¡§Ú¿ù»~?
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

b]¦^´_ 4# basarasy
**©Ò¦³ess dss ¤¤¶¡³£¦³&  ,¥u¬Opost¥X¨Ó®É§â§Ú©Ò¦³ªº&³£del.
dss = 29   <-ÅܼƬO¼Æ¦r
ess = 17   <-ÅܼƬO¼Æ¦r
sss = 0     <-ÅܼƬO¼Æ¦r
Range½d³òªº®Ñ¼g¤è¦¡->  Range("
¤å¦r")


¬°¦ó§Úrun¨ì If Range("B6" ...    ½ÐªþÀɤW¨Ó

TOP

¦^´_ 5# GBKEE

¨ä¹ê§Ú¬O·Q¼g
eg.  if a1:b3="" then  ®æ¬O¥Õ¦â  Else  ®æ¬O¶À¦â

a1 ¦³ªF¦è ®æ¬O¥Õ¦â
b2 ÉNªF¦è ®æ¬O¶À¦â
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¨Ï¥Î®æ¦¡¤Æ±ø¥ó§Y¥i
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

[ª©¥DºÞ²z¯d¨¥]
  • Hsieh(2010-7-2 20:13): ½Ð¤W¶ÇÀÉ®×

¦^´_ 7# Hsieh

¤£¯à¥Î><

hj.JPG (73.53 KB)

hj.JPG

50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2010-7-2 20:28 ½s¿è

¦^´_ 8# basarasy
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 10# Hsieh

§Ú¬O·Q°µ³o­Ó.

yy.JPG (35.77 KB)

yy.JPG

50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ¦Û¤v®`¦Û¤v¡A²ö¹L©ó¶ÃµoµÊ®ð¡C
ªð¦^¦Cªí ¤W¤@¥DÃD