VBA [英] VBA

查看:69
本文介绍了VBA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[vba]我使用测试气泡排序算法对城市名称进行排序。当其中一个处于大写字母时,它将按顺序移动到顶部。例如:丹佛领先于波士顿。为什么?

[vba] I used a test bubble sort algorithm to sort city names. When one of them is in Upper case, it is moved to the top in order. Ex: Denver ahead of boston. Why?

推荐答案

你好,

因为在排序时大写字母位于小写字母之前。 

because an uppercase letter comes before a lower case when you sort. 

根据ascii值完成排序

Sort is done according to the ascii value

参见参考:  https://www.asciitable.com/

see for ref: https://www.asciitable.com/


这篇关于VBA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆