欢迎访问《中国农学通报》,

中国农学通报 ›› 2022, Vol. 38 ›› Issue (32): 106-110.doi: 10.11924/j.issn.1000-6850.casb2021-1082

所属专题: 玉米

• 农业信息·科技教育 • 上一篇    下一篇

Excel VBA数组法在玉米自交系测配试验列表设计中的应用

宋英博1(), 王囡囡1, 张洪权1, 樊伟民1, 李于1, 孟凡祥1, 李灿东1, 陈庆山2   

  1. 1黑龙江省农业科学院佳木斯分院,黑龙江佳木斯 154007
    2东北农业大学农学院,哈尔滨 150030
  • 收稿日期:2021-11-11 修回日期:2022-01-07 出版日期:2022-11-15 发布日期:2022-11-09
  • 作者简介:宋英博,男,1979年出生,黑龙江双鸭山人,硕士,研究方向为玉米育种与栽培。通信地址:154007 黑龙江省佳木斯市东风区安庆街531号,Tel:0454-8351908,E-mail: 1005768095@qq.com
  • 基金资助:
    黑龙江省农业科学院院级科研项目“欧洲硬粒型玉米种质评价及创新利用”(2019YYYF015);优质玉米育种素材创制与新品种选育”(HNK2019CX03);黑龙江省农业科学院院级科研项目“三江平原玉米最优施肥模型的研究与应用”(2020YYYF049)

The Application of Excel VBA Array in the Design of Matching Test List for Maize Inbred Lines

SONG Yingbo1(), WANG Nannan1, ZHANG Hongquan1, FAN Weimin1, LI Yu1, MENG Fanxiang1, LI Candong1, CHEN Qingshan2   

  1. 1Jiamusi Branch of Heilongjiang Academy of Agricultural Sciences, Jiamusi, Heilongjiang 154007
    2College of Agriculture, Northeast Agricultural University, Harbin 150030
  • Received:2021-11-11 Revised:2022-01-07 Online:2022-11-15 Published:2022-11-09

摘要:

玉米自交系测配试验核心是配合力的测定,如何在测配试验列表设计中将数量庞大的被测系及测验种等数据迅速录入计算机,并快速编辑形成田间试验列表是每位育种者需要思考的问题。本研究利用VBA技术提出一种玉米自交系测配试验设计编码方法,可以实现数据快速录入计算机,并应用VBA技术优化繁琐的操作和过多的重复步骤,避免了人为操作误差,实现自动化,从而提高工作效率。结果表明,与常规Excel基础方法相比较,VBA方法具有操作简单易学,准确性更高,用时更快的优点。随着被测系规模的扩大,VBA方法优势更加明显。通过VBA方法编程调度,可简化大量的手工操作步骤,建议在玉米自交系测配试验设计中推广使用。

关键词: VBA数组, 玉米, 自交系测配试验, 程序

Abstract:

The core of maize inbred line matching test is the determination of combining ability. How to input a huge amount of data of inbred lines and testers into the computer quickly in the design of test list, and how to edit the data to form a list of the field trials quickly need to be considered by every breeder. In this study, a coding method for matching test of maize inbred lines was proposed by using VBA technology, to realize quick data input, optimize the tedious operation with repeated steps and avoid human operation errors, thus achieving automation and high working efficiency. The results show that, compared with the conventional basic Excel method, VBA method is simple to operate and easy to learn, with higher accuracy and speed. With the expansion of the scale of the inbred lines, the advantages of VBA method has become more obvious. By using the VBA method programming scheduling, a large number of manual operation steps could be simplified. It is suggested that VBA method should be popularized in the design of maize inbred line matching test.

Key words: VBA array, maize, inbred line matching test, program

中图分类号: