- ©«¤l
- 214
- ¥DÃD
- 74
- ºëµØ
- 0
- ¿n¤À
- 296
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- hk
- µù¥U®É¶¡
- 2013-6-17
- ³Ì«áµn¿ý
- 2018-11-3
|
[¤À¨É] excel¸ê®Æ®w§R°£«½Æ¸ê®Æ
excel¸ê®Æ®w,¿é¤J¸ê®Æ¦n©ö«½Æ,§Q¥ÎADO+sql,»´»´ÃPªQ§R°£«½Æªº¸ê®Æ
Sub iDo()
Dim R As Range, A As Integer
Set R = Range("A1").CurrentRegion.Rows(1)
A = R.Interior.ColorIndex
iPath = ActiveWorkbook.FullName
iQ = "select distinct * from [" & ActiveSheet.Name & "$] order by ¤é´Á"
Set iAddress = ActiveSheet.Range("A1")
iSql
R.Interior.ColorIndex = A
End Sub |
|