Volume 25 Issue 1
Jun.  2018
Turn off MathJax
Article Contents

CHEN Yong-gang, SHI Yong-jun, TANG Meng-ping, XU Wen-bing. Measurements and calculations with embedded VBA and COM codes in Excel[J]. Journal of Zhejiang A&F University, 2008, 25(1): 83-87.
Citation: CHEN Yong-gang, SHI Yong-jun, TANG Meng-ping, XU Wen-bing. Measurements and calculations with embedded VBA and COM codes in Excel[J]. Journal of Zhejiang A&F University, 2008, 25(1): 83-87.

Measurements and calculations with embedded VBA and COM codes in Excel

  • Received Date: 2007-01-10
  • Rev Recd Date: 2007-07-02
  • Publish Date: 2008-02-10
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Article views(971) PDF downloads(115) Cited by()

Related
Proportional views

Measurements and calculations with embedded VBA and COM codes in Excel

Abstract: The aim is to simplify calculations of measurement adjustment and create points' files in computer assisted search service(CASS) automatically. In this study, visual basic for applications (VBA) and component object model(COM) codes were embedded into Microsoft Excel. Calculations of adjusted measurements were simplified and point files in CASS were automatically created. With this method, first COM modules with angle converts and CASS points using an active template library(ATL) template from VC were developed. Then, COM modules were used with VBA code in Excel so that measurement adjustments were calculated and point files were automatically created. This method was used for topographic measurements from 1:500 large-scale maps in the digital botanical garden of Zhejiang Forestry College with 25 points being rapidly calculated by adjustment of a closed traverse. Results revealed nearly 12 000 point files that were created automatically and accurately. With this method, complex calculating procedures were not necessary, unlike before when manually performed, and when creating the point files, mistakes were rarely made. This study showed that adjusted calculations of a closed traverse and automatic creation of point files, was relatively easy.

CHEN Yong-gang, SHI Yong-jun, TANG Meng-ping, XU Wen-bing. Measurements and calculations with embedded VBA and COM codes in Excel[J]. Journal of Zhejiang A&F University, 2008, 25(1): 83-87.
Citation: CHEN Yong-gang, SHI Yong-jun, TANG Meng-ping, XU Wen-bing. Measurements and calculations with embedded VBA and COM codes in Excel[J]. Journal of Zhejiang A&F University, 2008, 25(1): 83-87.

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return