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: 19
Default Excel Sort changing 10 to 1

I am having an issue where excel is deleting the zeros at the end of a value,
so 10 is becoming 1. This was first seen in a macro where I run sort, but
happens if I just use the sort manually as well. I have gotten it to not
repeat manually, but it seems to always be doing it in the macro. Has anyone
ever seen this?

Here is the code used for sorting.

ActiveSheet.UsedRange.Sort Key1:=Cells(2, ccData1), Order1:=xlAscending,
Header:= _
xlGuess, OrderCustom:=ccData1, MatchCase:=False,
Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal

This is quite frustrating, so any help would be great. 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
Changing Columns and Rows around to sort Jerid B Excel Discussion (Misc queries) 1 March 14th 08 11:03 PM
Sort by changing number Greg Excel Programming 1 January 24th 08 08:45 AM
sort an outline without changing the hierarchy lelisabeth Excel Discussion (Misc queries) 1 December 10th 07 07:57 PM
Sort a changing range jhyatt Excel Discussion (Misc queries) 0 September 18th 07 08:04 PM
Sort changing formulas David P. Excel Discussion (Misc queries) 2 May 13th 07 11:48 PM


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