LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Sort code doesn't work on first pass, works on second

Well I revisited this and figured it out so since I use other people's
answered questions a lo I figured I'd add what I found in case it helps
someone else.

Somehow I had left some subtotals on in the area where I was dropping in the
new data for the new day. Somehow the first time my macro ran the subtotals
weren't removed, but then the next time I ran it they were. I moved the line
clearing the subtotals down a bit in the code and fixed it. Upshot - If you
sort works intermittently chec whether you have any subtotalling going on.
--
Rick H



 
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
Code that sort of works Stephen[_24_] Excel Programming 6 November 14th 07 02:56 PM
Commandbar works first pass, but not thereafter Dale Fye Excel Programming 3 October 25th 07 07:41 PM
Code not work Take same action on all wkshts or selected works Rookie_User Excel Programming 0 January 24th 07 07:01 AM
VBA Code works in Excel 2003 but won't work in Excel 2000 aglazer Excel Programming 2 September 5th 05 03:52 PM
VBA Code works in Excel 2003 but won't work in Excel 2000 [email protected] Excel Programming 0 September 5th 05 09:05 AM


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