LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Sorting Problem

Im using Visual Studio and I'm trying to sort by column D in ascending order
and sort all of the columns with it ("A3:CQ" & lastRow)

LCV.Range("D3:D" & lastRow).Sort(LCV.Range("A3:CW" & lastRow),
XlSortOrder.xlAscending, (LCV.Range("O3:O" & lastRow)

Its adding information at the end of my data in a new column, any ideas what
I'm doing wrong? Thanks!

 
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
A Sorting Problem k1ngr Excel Discussion (Misc queries) 2 March 2nd 08 12:09 PM
Sorting Problem Joker Excel Discussion (Misc queries) 5 July 15th 06 05:20 PM
Sorting problem Francine Excel Discussion (Misc queries) 2 July 7th 06 05:26 PM
Sorting problem broogle Excel Programming 2 April 14th 05 06:51 AM
Sorting problem elayem[_2_] Excel Programming 0 October 15th 04 07:46 PM


All times are GMT +1. The time now is 04:40 AM.

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"