简体   繁体   中英

VBA Excel Alphabetized listbox

在VBA for Excel中,我已经编写了一个代码,为ListBox提供行源,但是如何在没有预先编写的函数的情况下使该列表按字母顺序排列呢?

您是否尝试过lvMyList.Sorted = True

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM