Visual Basic For Application(简称VBA),是VB的子集,VB可以编写独立的程序,安装在windows系统上,而VBA要依赖word,excel等平台才能运行,学好了VB,VBA就很快学会了。至于你说的把vba程序编写成Dll,这个也很简单,区别是,是office中,使用对象不需要引用,在vb中则要引用Excel.Application或Word.Application,如在excel中,str=Sheet1.Range("a1").Value,而在vb中,则先要申明一个对象:
Dim eApp,eBook,eSht As object
Dim str As String
Set eApp=CreateObject("Excel.Application")
Set eBook=eApp.Workbooks.Open(ExcelFileName)
Set eSht=eBook.Workbooks(1)
str=eSht.Range("a1").Value