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

[µo°Ý] ½Ð°Ý¦p¦ó¥Î¥¿³Wªí¥Ü¡A±N¯S®í¦r¤¸µø¬°¦r¦êªº¤@³¡¤À¡H

[µo°Ý] ½Ð°Ý¦p¦ó¥Î¥¿³Wªí¥Ü¡A±N¯S®í¦r¤¸µø¬°¦r¦êªº¤@³¡¤À¡H

¨Ò¦p¡GI don't know.¤¤
°µ·j´M¤ñ¸û®É¡A±N don't µø¬°¤@­Ó¦r¦ê¡A¦Ó«D don ©M t ¨â­Ó¦r¦ê¡C

¦^´_ 1# ychuang

Public Sub instr_()
    Dim str1 As String
    str1 = "don't"

    For Row = 1 To 10
        For col = 1 To 10
            If (InStr(1, Cells(Row, col), str1)) Then
                Range(Cells(Row, col), Cells(Row, col)).Select
            End If
        Next
    Next

End Sub

TOP

¬ã¨s«Ü¤[, ¥Îregular expresion¦ü¥GµLªk¹F¨ì¥þ­±ªº¥\¯à(À³¬O¦Û¤v¤Ó®z¤F), ³Ì«á¥Î¥H¤U¤èªk¹F¦¨¡C
1. §â­n³B²zªºÄæ¦ì³]©w¬°¦r¦ê®æ¦¡ .Column("A").NumberFormatLocal = "@"
2. ²M¥y¤lªºÀY§ÀªÅ¥Õ«á, ¦A¥ÎªÅ¥Õ©î¦r Split(Trim(sSentence(i)), " ")
3. ¹ï©Ò¦³ªº¦r²Õ¥Î Replace(sTempWord(j), "¯S®í¦r¤¸", "") Å|¥N²M±¼

³o¼Ë²×©ó¯à©w¦ì¥X¹³a-doting, advis¡¦d, all-the-world, aren¡¦t
¦ýÁÙ¬O¦³­ÓµL¸Ñªº°ÝÃD
¥H ' ¶}ÀYªº¦r·|³Qµø¬°¦r¦êªº«e¤Þ²Å¸¹.....(Excelªº±J©R¶Ü?)

TOP

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD