|
楼主 |
发表于 2007-12-15 18:26
|
显示全部楼层
<p></p><p>Private Sub CommandButton1_Click()<br/> Range("A4:D9").Select<br/> Selection.Copy<br/> Range("E4").Select<br/> <font style="BACKGROUND-COLOR: #cc8f33;">Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _<br/> :=False, Transpose:=False<br/></font> Range("E3:F3").Select<br/> Application.CutCopyMode = False<br/> Selection.Sort Key1:=Range("E3"), Order1:=xlAscending, Header:=xlGuess, _<br/> OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, SortMethod _<br/> :=xlPinYin, DataOption1:=xlSortNormal<br/> Range("E3:F9").Select<br/> Selection.Sort Key1:=Range("E4"), Order1:=xlAscending, Header:=xlGuess, _<br/> OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, SortMethod _<br/> :=xlPinYin, DataOption1:=xlSortNormal<br/> Range("G4:H9").Select<br/> Selection.Sort Key1:=Range("G4"), Order1:=xlAscending, Header:=xlGuess, _<br/> OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, SortMethod _<br/> :=xlPinYin, DataOption1:=xlSortNormal<br/>End Sub<br/></p><p></p><p>我想将单元格核对到比如10000个,能行吗?我不懂?请再帮忙看看!</p>
[此贴子已经被作者于2007-12-15 18:28:07编辑过] |
|