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: 1
Default Sort Macro

I'm having trouble creating a macro that will sort a column of values.
There is information in the first few rows that should not be sorted
and totals and other information in rows after the data that shoul
also not be sorted.

To manually do the command I would anchor the start of the range an
use the 'down arrow' and then the 'end' key. How do I do that in
macro?

The problem is that rows in the middle of the range are always bein
added or deleted so it is a dynamic range. I had no success with th
offset command as it doesn't (or didn't the way I was using it) wor
when you have data below the list that can't be part of the range.

Any ideas

--
Message posted from http://www.ExcelForum.com

 
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
Sort Macro BAKERSMAN Excel Discussion (Misc queries) 0 March 24th 10 05:34 AM
Macro sort Excel user New Users to Excel 1 August 1st 08 08:33 PM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
Using Macro to sort without clicking on macro button dd Excel Discussion (Misc queries) 3 May 3rd 07 06:00 PM
Sort Macro Tom Ogilvy Excel Programming 0 May 28th 04 03:55 PM


All times are GMT +1. The time now is 08:19 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"