vba在多excel工作薄数据汇总的应用-陕西铁路工程职业技术学院.pdfVIP

  • 7
  • 0
  • 约2.29万字
  • 约 4页
  • 2018-11-16 发布于天津
  • 举报

vba在多excel工作薄数据汇总的应用-陕西铁路工程职业技术学院.pdf

vba在多excel工作薄数据汇总的应用-陕西铁路工程职业技术学院

第 卷 第 期 电子设计工程 年 月 19 10 2011 5 Vol.19 No.10 Electronic Design Engineering May 2011 VBA 在多Excel 工作薄数据汇总的应用 1 2 徐志伟 , 孙航 (1. 陕西铁路工程职业技术学院陕西渭南 714000 ; 2. 开封大学河南开封 475000 ) 摘要: 利用Excel 进行数据处理分析时, 常需要对大量独立的具有相同表结构的原始工作薄中的数据进行汇总合并 到一个工作薄的指定工作表中。 通过VBA 编程调用Excel 对象在不打开源工作薄的情况下,将指定文件夹中所有工 作薄中的某一工作表的数据汇总合并,并添加工作薄文件名称字段表明数据来源。 可以将需要一天或几天重复性的 打开 复制 粘贴等操作才能完成的任务,缩短为几分钟完成。 - - 关键词: VBA ; 相同文件结构; 多工作薄; 数据汇总 中图分类号: TP311 文献标识码: A 文章编号:1674-6236 (2011 )10-0039-03 Application of VBA in consolidating multiple spreadsheets 1 2 XU Zhi-wei , SUN Hang ( , , ; , , ) 1. ShaanXi Railway Institute Weinan 714000 China 2. Kaifeng University Kaifeng 475000 China Abstract: Using Excel for data processing and analysis , the data in a large number of spreadsheets in many separated workbook with one file structure need to be consolidated into one worksheet. This paper mainly discussed a method that how VBA programming create a Microsoft Excel Object to consolidate the spreadsheets in a specified folder without opening them, and add a field to help identify the source of the data.The work usually need one or more days to complete by manually open- copy-paste, reduced to a few minutes to complete. Key words: VBA ; file structure ; multiple spread

文档评论(0)

1亿VIP精品文档

相关文档