Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello. I have a block of data (A5:Z2000). Each row represents data for a
specific individual. I know how code vba to sort a single row. How can I have vba sort each row individually? So in other words, I need to sort A5:Z5 in ascending order. Then sort A6:Z6 in ascending order And so on...So a looping sort? Thanks in advance! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Steph wrote:
Hello. I have a block of data (A5:Z2000). Each row represents data for a specific individual. I know how code vba to sort a single row. How can I have vba sort each row individually? So in other words, I need to sort A5:Z5 in ascending order. Then sort A6:Z6 in ascending order And so on...So a looping sort? Thanks in advance! For example: Sub SortRowsMakro() totalrows = ActiveSheet.UsedRange.Rows.Count For Row = 1 To totalrows Step 1 ' 'Hear your sort steps for one row ' Next Row End Sub Reg. VK |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sum a cell with data seperately | Excel Discussion (Misc queries) | |||
How to save a worksheet seperately in addition to part of wrkbook | Excel Discussion (Misc queries) | |||
How do I Group Buttons to operate seperately from eachother? | Excel Discussion (Misc queries) | |||
copy/paste will work seperately, but not in the function i've writ | Excel Programming | |||
is it possible to change this macro to save each sheet seperately? | Excel Programming |