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作者: mhl9mhl9 時間: 2013-7-31 23:48