| | |
Excel Macro using vba :(
![]() |
•
•
•
•
Originally Posted by slade
hey guys... I want to be able to auto sort rows ascending in a worksheet according to the first column... I want to make a visual basic macro for this... any ideas?
Thanks in advance
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Sub Macro1() ' ' Macro1 Macro ' Macro recorded 19/8/2004 by Mark Nemtsas ' ' Columns("A:D").Select Selection.Sort Key1:=Range("A1"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom End Sub
Mark Nemtsas
Time and Billing Software - Time Tracking Software - Roller Shutters - Roller Blinds -
Baby Books
Time and Billing Software - Time Tracking Software - Roller Shutters - Roller Blinds -
Baby Books
![]() |
Similar Threads
- Execl: Computer Serial number with VBA (Visual Basic 4 / 5 / 6)
- Find Data in an Access Field from Excel Macro (Visual Basic 4 / 5 / 6)
- Simple Excel Macro (VBA) (Visual Basic 4 / 5 / 6)
- Excel Macro VBA Help (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: FIeld width zero?
- Next Thread: Datashet View
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





