Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Pat Pat is offline
external usenet poster
 
Posts: 210
Default Sort formula not working

I have over 1,200 worksheets with this formula:
Private Sub Worksheet_Activate()
Application.Calculate
Set r1 = Range("a10:E218")
Set r2 = Range("g10")
r1.Copy
r2.PasteSpecial Paste:=xlPasteValues
Range ("G10:K218") .Sort Key1:=Range ("K10") , Order1:=xlDescending
End Sub
Which does what I want when I "Open" the worksheet. I "thought" when I got
to my final page & did a link to each of the worksheets the link would
activate the sort on each worksheet to get my data for the final sheet. This
of course is not happening. Can someone tell me how to change this so it
will automatically sort as the data changes on another linked sheet that
feeds the sheet with the data that needs to be sorted. I have months of work
in this project & the "sorted" data is a must. Or any suggestions. Also I
have on 1 worksheet several of the above formulas to sort different linked
data files.
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
Sort not working - very large file HelathcompanyHD Excel Worksheet Functions 1 April 11th 07 03:58 PM
Excel 2007 Sort A-Z not working but did in 2000 JohnHamer1977 Excel Discussion (Misc queries) 0 August 29th 06 03:12 AM
Data Sort NOT working... Bob Barnes Excel Discussion (Misc queries) 1 June 20th 06 11:00 PM
Excel 2003 Data Sort & Subtotaling not working properly Roibn L Taylor Excel Discussion (Misc queries) 5 December 8th 05 05:59 PM
Sort Left to Right not working Juan Excel Discussion (Misc queries) 3 July 29th 05 07:26 PM


All times are GMT +1. The time now is 03:01 PM.

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

About Us

"It's about Microsoft Excel"