Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Sort Each Row seperately

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   Report Post  
Posted to microsoft.public.excel.programming
VK VK is offline
external usenet poster
 
Posts: 12
Default Sort Each Row seperately

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sum a cell with data seperately Haz Excel Discussion (Misc queries) 2 April 2nd 08 02:12 PM
How to save a worksheet seperately in addition to part of wrkbook Ron de Bruin Excel Discussion (Misc queries) 5 September 14th 06 07:57 PM
How do I Group Buttons to operate seperately from eachother? Bula Excel Discussion (Misc queries) 1 April 20th 05 07:53 PM
copy/paste will work seperately, but not in the function i've writ JE McGimpsey Excel Programming 0 April 13th 05 02:28 AM
is it possible to change this macro to save each sheet seperately? Martyn Excel Programming 4 May 15th 04 07:04 PM


All times are GMT +1. The time now is 04:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"