- ·上一篇教育:excel表格怎么将数据按空格分开
- ·下一篇教育:excel表格怎么统计一列相同字数
excel表格怎么排序10个为一组
1.求0
Sub aa() Dim d As Object Set d = CreateObject("scripting.dictionary") Do d(Int(Rnd() * 25)) = 0 Loop Until d.Count = 10 Range("A" & Range("A65536").End(xlUp).Row + 1).Resize(1, 10) = d.keysEnd Sub运行此宏即在A到J列生成不重复的10个0到24间的整数,运行一次生成一组,依次写到上一组数据的下一行。
评论内容只代表网友观点,与本站立场无关!
评论摘要(共 0 条,得分 0 分,平均 0 分)