Accessing Vlookup Macro Code in Excel?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 02:45:53

问题


I wish to manually code VLOOKUP in python, so is it possible to see the VBA code behind VLOOKUP? I remember a presentation in my school by a guest speaker showing that the Excel Functions are just macro/vba codes. Can someone please show me the way to view the code for Excel Worksheet functions?


回答1:


I do not know of a way to view the XL code for VLOOKUP (its almost certainly written in C).
The basic algorithms used in VLOOKUP are Linear Search for unsorted data, and Binary Search for sorted data. There are many examples available on the web of implementing these algorithms.




回答2:


Excel functions i dont' know, but to Excel Add-ins it's possible.

Add a add-in to your excel application, and go to Visual Basic Editor, double click in add-in and use this passwords.

Add-in -- Password

  1. Internet Assistant VBA -- Weezaarde!?
  2. Autosave Addin -- Wildebeest!!
  3. Analysis Toolpak VBA -- Wildebeest!!
  4. Solver Add-in -- Wildebeest!!

All forms be design in excel forms sheets used in older versions of Excel.

[]'s



来源:https://stackoverflow.com/questions/4130199/accessing-vlookup-macro-code-in-excel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!