andkor / vba-array

A jQuery-like selector for VBA and a javascript-like array object for VBA/VBS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(All relevant code is in the VBA-Array.doc file as macros. Other files can be ignored)

A better array for VBA/VBS, plus a jQuery-like element selector:

 vbaArray provides an array-like Class with methods that you'd expect in other languages:

 - First
 - Last
 - LastIndex
 - Length
 - Merge() or Concat()
 - Push()
 - Pop()
 - Shift()
 - Unshift()

Also included in this project is an experiment to bring jQuery-like element search to Word VBA:

 vbaQuery has the following methods:

 - find(selector)

 Eg: Dim Q As New vbaQuery
     Debug.Print Q.find("ROW").Count

About

A jQuery-like selector for VBA and a javascript-like array object for VBA/VBS